Skip to content

Commit

Permalink
Install gcc for other arch
Browse files Browse the repository at this point in the history
  • Loading branch information
Metaphorme authored Nov 7, 2024
1 parent 3a07c8d commit 16d1ce4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- { target: x86_64-pc-windows-msvc, os: windows-latest }
- { target: x86_64-pc-windows-gnu, os: windows-latest }
- { target: i686-pc-windows-msvc, os: windows-latest }
- { target: i686-pc-windows-gnu, os: windows-latest }
- { target: aarch64-apple-darwin, os: macos-latest }
- { target: x86_64-apple-darwin, os: macos-latest }

Expand All @@ -35,6 +34,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- if: ${{ matrix.config.target }} == i686-unknown-linux-gnu
run: |
sudo apt update
sudo apt install gcc-i686-linux-gnu
- if: ${{ matrix.config.target }} == aarch64-unknown-linux-gnu
run: |
sudo apt update
sudo apt install gcc-aarch64-linux-gnu
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
Expand Down

0 comments on commit 16d1ce4

Please sign in to comment.