mirror of
https://github.com/DefectingCat/rua-list
synced 2025-07-15 16:51:31 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
@ -4,26 +4,20 @@ stages:
|
||||
|
||||
build:linux-gnu-amd64:
|
||||
stage: build
|
||||
image: rust
|
||||
image: rust:latest
|
||||
script:
|
||||
- cargo build --release
|
||||
artifacts:
|
||||
paths:
|
||||
- target/release/rua-list
|
||||
|
||||
build:linux-musl-amd64:
|
||||
stage: build
|
||||
image: sseemayer/rust-musl-builder-mingw:latest
|
||||
script:
|
||||
- cargo build --target=x86_64-unknown-linux-musl --release
|
||||
artifacts:
|
||||
paths:
|
||||
- target/release/x86_64-unknown-linux-musl/rua-list
|
||||
|
||||
build:windows-amd64:
|
||||
stage: build
|
||||
image: sseemayer/rust-musl-builder-mingw:latest
|
||||
image: rust:latest
|
||||
script:
|
||||
- apt update -y && apt upgrade -y apt install -y g++-mingw-w64-x86-64
|
||||
- rustup target add x86_64-pc-windows-gnu
|
||||
- rustup toolchain install stable-x86_64-pc-windows-gnu
|
||||
- cargo build --target=x86_64-pc-windows-gnu --release
|
||||
artifacts:
|
||||
paths:
|
||||
|
Reference in New Issue
Block a user