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 shell: bash
- name: Test - name: Test
run: cargo test --all-features --release run: cargo test --release
- name: Build - name: Build
run: | run: |
if [ "$RUNNER_OS" == "macOS" ]; then if [ "$RUNNER_OS" == "macOS" ]; then
cargo bundle --all-features --release cargo bundle --release
cargo bundle --all-features --release --target aarch64-apple-darwin cargo bundle --release --target aarch64-apple-darwin
mv target/release/bundle/osx/Gupax.app Gupax-macos-x64.app 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 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 tar -cf macos.tar Gupax-macos-arm64.app Gupax-macos-x64.app
elif [ "$RUNNER_OS" == "Linux" ]; then 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 . mv target/x86_64-unknown-linux-gnu/release/gupax .
tar -cf linux.tar gupax tar -cf linux.tar gupax
else else
cargo build --all-features --release cargo build --release
fi fi
shell: bash shell: bash