mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 22:59:27 +00:00
ci.yml: archive release builds
This commit is contained in:
parent
e336a370cd
commit
94d41c1297
1 changed files with 17 additions and 1 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -38,6 +38,9 @@ jobs:
|
|||
if [ "$RUNNER_OS" == "Linux" ]; then
|
||||
sudo apt update
|
||||
sudo apt install -y libgtk-3-dev
|
||||
elif [ "$RUNNER_OS" == "macOS" ]; then
|
||||
cargo install cargo-bundle
|
||||
rustup target install aarch64-apple-darwin
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
|
@ -45,4 +48,17 @@ jobs:
|
|||
run: cargo test --all-features --profile ${{ matrix.build }}
|
||||
|
||||
- name: Build
|
||||
run: cargo build --all-features --profile ${{ matrix.build }}
|
||||
run: |
|
||||
if [ "$RUNNER_OS" == "macOS" ]; then
|
||||
cargo bundle --all-features --profile ${{ matrix.build }}
|
||||
cargo bundle --all-features --profile ${{ matrix.build }} --target aarch64-apple-darwin
|
||||
else
|
||||
cargo build --all-features --profile ${{ matrix.build }}
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
- name: Archive
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: festival-${{ matrix.os }}
|
||||
path: target
|
||||
|
|
Loading…
Reference in a new issue