Skip to content

Commit

Permalink
ci: add settings for linux arm64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed May 14, 2023
1 parent 3d1239a commit 21a1cc2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/build-prqlc/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ runs:
sudo apt-get update
sudo apt-get install -y musl-tools
- if: inputs.target == 'aarch64-unknown-linux-musl'
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu
echo 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV"
echo 'RUSTFLAGS="-C link-arg=-lgcc"' >>"$GITHUB_ENV"
- name: cargo build
uses: richb-hanover/cargo@v1.1.0
with:
Expand Down

0 comments on commit 21a1cc2

Please sign in to comment.