Skip to content

Commit

Permalink
Added aarch64 musl-g++
Browse files Browse the repository at this point in the history
  • Loading branch information
SalOne22 committed Dec 14, 2023
1 parent 3a80db1 commit c66f05d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/rimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,21 @@ jobs:
run: |
sudo apt-get -yq update
sudo apt-get -yq install musl-tools musl-dev:${{ matrix.target-apt-arch }}
sudo ln -s /bin/g++ /bin/musl-g++
- name: install aarch64 cross compiler
if: startsWith(matrix.target, 'aarch64-unknown-linux')
run: |
sudo apt-get -yq update
sudo apt-get -yq install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libc6:arm64
- name: set musl-g++
if: matrix.target == 'x86_64-unknown-linux-musl'
run: sudo ln -s /bin/g++ /bin/musl-g++

- name: set aarch64-linux-musl-g++
if: matrix.target == 'aarch64-unknown-linux-musl'
run: sudo ln -s /bin/aarch64-linux-gnu-g++ /bin/aarch64-linux-musl-g++

- uses: Swatinem/rust-cache@v2

- name: install rust toolchain
Expand Down

0 comments on commit c66f05d

Please sign in to comment.