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

Update .gitlab-ci.yml file

parent 1c6b754d
No related branches found
No related tags found
No related merge requests found
......@@ -2,35 +2,42 @@ stages:
- build
- distribute
build:windows:
build:x86_64windows:
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
- apt install gcc-mingw-w64-x86-64
script:
- cargo build --release --target=x86_64-pc-windows-gnu
- cargo build --release --target=i686-pc-windows-gnu
artifacts:
paths:
- target/
build:linux:
build:x86_64linux:
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
artifacts:
paths:
- target/
build:i686linux:
rules:
- if: $CI_COMMIT_TAG
stage: build
image: rust:1-buster
before_script:
- rustup target add i686-unknown-linux-gnu
script:
- cargo build --release --target=i686-unknown-linux-gnu
- cargo build --release --target=armv7-unknown-linux-gnueabihf
artifacts:
paths:
- target/
......
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