Skip to content
Snippets Groups Projects

CI

Merged Stephen D requested to merge ci into master
Files
2
+ 4
6
@@ -5,27 +5,25 @@ stages:
- build
before_script:
- apt-get update -q && apt-get install mingw-w64 -yqq
- rustup component add rustfmt
- rustup component add clippy
- rustup target add x86_64-pc-windows-gnu
- rustup target add x86_64-apple-ios
- rustup target add aarch64-apple-ios
test:
stage: test
script:
- cargo fmt -- --check
- cargo clippy --all-targets --all-features -- -D warnings
- cargo test
build:
stage: build
script:
- cargo build --release
- cargo build --release --target x86_64-pc-windows-gnu
- cargo build --release --target x86_64-apple-ios
- cargo build --release --target aarch64-apple-ios
artifacts:
paths:
- target/release/dotacat
- target/x86_64-pc-windows-gnu/release/dotacat.exe
- target/x86_64-apple-ios/release/dotacat
- target/aarch64-apple-ios/release/dotacat
Loading