Skip to content

Commit

Permalink
separate native / cross compile toolchains
Browse files Browse the repository at this point in the history
  • Loading branch information
dangeredwolf committed Aug 28, 2023
1 parent 379e0c9 commit e9856b9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,21 @@ jobs:
sudo apt-get install -y gcc-aarch64-linux-gnu
- name: Build
- name: Build (Cross-Compile)
if: matrix.target == 'aarch64-unknown-linux-gnu'
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --release --target ${{ matrix.target }}
args: --release --target ${{ matrix.target }} -vv

- name: Build (Native Toolchain)
if: matrix.target != 'aarch64-unknown-linux-gnu'
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target ${{ matrix.target }} -vv


- name: Upload Release Asset
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit e9856b9

Please sign in to comment.