mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-23 07:09:23 +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
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue