Skip to content

Commit

Permalink
Install musl-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Dec 5, 2021
1 parent 0f9cdd7 commit 2110da1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,26 @@ jobs:
target: ${{ matrix.target }}
toolchain: stable

- name: Update Apt
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt-get update
- name: Install AArch64 Toolchain
if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
run: |
sudo apt-get update
sudo apt-get install gcc-aarch64-linux-gnu
- name: Install ARM7 Toolchain
if: ${{ matrix.target == 'armv7-unknown-linux-gnueabihf' }}
run: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf
- name: Install Musl
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
run: |
sudo apt-get install musl-tools
- name: Test
if: '!matrix.cross_compiling'
run: |
Expand Down

0 comments on commit 2110da1

Please sign in to comment.