Skip to content

Commit

Permalink
Update cross compiler installation in GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
hvdijk committed Dec 24, 2024
1 parent 76c9860 commit 3c2c634
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/setup_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ runs:
sudo apt-get install --yes gcc-multilib g++-multilib libc6-dev:i386 lib32tinfo-dev; \
fi
if [ "${{ inputs.cross_arch }}" = "arm" ]; then \
sudo apt-get install --yes gcc-11-arm-linux-gnueabihf g++-11-arm-linux-gnueabihf; \
sudo apt-get install --yes gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf; \
fi
if [ "${{ inputs.cross_arch }}" = "aarch64" ]; then \
sudo apt-get install --yes gcc-11-aarch64-linux-gnu g++-11-aarch64-linux-gnu; \
sudo apt-get install --yes gcc-aarch64-linux-gnu g++-aarch64-linux-gnu; \
fi
if [ "${{ inputs.cross_arch }}" = "riscv64" ]; then \
sudo apt-get install --yes gcc-11-riscv64-linux-gnu g++-11-riscv64-linux-gnu; \
sudo apt-get install --yes gcc-riscv64-linux-gnu g++-riscv64-linux-gnu; \
fi
if [ "${{ inputs.cross_arch }}" != "none" ] && [ "${{ inputs.cross_arch }}" != "x86" ]; then \
# Install QEMU for testing cross compilation.
Expand Down

0 comments on commit 3c2c634

Please sign in to comment.