Skip to content
Snippets Groups Projects
Commit 8f1ca6d8 authored by Marvin Weiler's avatar Marvin Weiler
Browse files

Update .gitlab-ci.yml file

parent d8366dfb
No related branches found
Tags 0.1.0-test11
No related merge requests found
......@@ -2,18 +2,34 @@ stages:
- build
- distribute
build:
build:windows:
rules:
- if: $CI_COMMIT_TAG
stage: build
image: rust:1-buster
before_script:
- rustup target add x86_64-pc-windows-gnu
- rustup target add i686-pc-windows-gnu
script:
- cargo build --release --target=x86_64-unknown-linux-gnu
- cargo build --release --target=x86_64-pc-windows-gnu
- cargo build --release --target=x86_64-apple-darwin
- cargo build --release --target=i686-pc-windows-gnu
artifacts:
paths:
- target/
build:linux:
rules:
- if: $CI_COMMIT_TAG
stage: build
image: rust:1-buster
before_script:
- rustup target add i686-unknown-linux-gnu
- rustup target add armv7-unknown-linux-gnueabihf
- rustup target add aarch64-unknown-linux-gnu
script:
- cargo build --release --target=x86_64-unknown-linux-gnu
- cargo build --release --target=aarch64-unknown-linux-gnu
- cargo build --release --target=i686-unknown-linux-gnu
- cargo build --release --target=i686-pc-windows-gnu
- cargo build --release --target=armv7-unknown-linux-gnueabihf
artifacts:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment