Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
86maid authored Jul 9, 2024
1 parent e704fc1 commit 8696b4c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,11 @@ jobs:
- name: Add AArch64 target for Linux
run: rustup target add aarch64-unknown-linux-gnu

- name: Install AArch64 Linux toolchain
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu

- name: Build project for AArch64 Linux
run: cargo build --release --target aarch64-unknown-linux-gnu
run: CC=aarch64-linux-gnu-gcc cargo build --release --target aarch64-unknown-linux-gnu

- name: Copy model folder for AArch64 Linux
run: |
Expand All @@ -181,8 +184,11 @@ jobs:
- name: Add AArch64 target for Linux
run: rustup target add aarch64-unknown-linux-gnu

- name: Build project for AArch64 Linux with inline-model feature
run: cargo build --release --target aarch64-unknown-linux-gnu --features "inline-model"
- name: Install AArch64 Linux toolchain
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu

- name: Build project for AArch64 Linux
run: CC=aarch64-linux-gnu-gcc cargo build --release --target aarch64-unknown-linux-gnu --features "inline-model"

- name: Archive artifacts for AArch64 Linux with inline-model
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 8696b4c

Please sign in to comment.