ci: remove --all-features

This commit is contained in:
hinto.janai 2023-07-19 14:21:11 -04:00
parent 4acbd891d5
commit 3834f6d1d1
No known key found for this signature in database
GPG key ID: D47CE05FA175A499

View file

@ -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