mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 14:49:21 +00:00
ci: remove --all-features
This commit is contained in:
parent
4acbd891d5
commit
3834f6d1d1
1 changed files with 5 additions and 5 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -44,22 +44,22 @@ jobs:
|
|||
shell: bash
|
||||
|
||||
- name: Test
|
||||
run: cargo test --all-features --release
|
||||
run: cargo test --release
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
if [ "$RUNNER_OS" == "macOS" ]; then
|
||||
cargo bundle --all-features --release
|
||||
cargo bundle --all-features --release --target aarch64-apple-darwin
|
||||
cargo bundle --release
|
||||
cargo bundle --release --target aarch64-apple-darwin
|
||||
mv target/release/bundle/osx/Gupax.app Gupax-macos-x64.app
|
||||
mv target/aarch64-apple-darwin/release/bundle/osx/Gupax.app Gupax-macos-arm64.app
|
||||
tar -cf macos.tar Gupax-macos-arm64.app Gupax-macos-x64.app
|
||||
elif [ "$RUNNER_OS" == "Linux" ]; then
|
||||
cargo build --all-features --release --target x86_64-unknown-linux-gnu
|
||||
cargo build --release --target x86_64-unknown-linux-gnu
|
||||
mv target/x86_64-unknown-linux-gnu/release/gupax .
|
||||
tar -cf linux.tar gupax
|
||||
else
|
||||
cargo build --all-features --release
|
||||
cargo build --release
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
|
|
Loading…
Reference in a new issue