Skip to content

Commit

Permalink
try fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Aug 13, 2024
1 parent 9546022 commit ebc967f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@ jobs:
if: ${{ matrix.target == 'linux' && matrix.platform == 'linux-x64' }}
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y gcc-11 g++-11
echo "CC=gcc-11" >> $GITHUB_ENV
echo "CXX=g++-11" >> $GITHUB_ENV
- name: Prepare Linux-aarch64
if: ${{ matrix.target == 'linux' && matrix.platform == 'linux-aarch64' }}
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y gcc-11-aarch64-linux-gnu g++-11-aarch64-linux-gnu
echo "CC=aarch64-linux-gnu-gcc-11" >> $GITHUB_ENV
echo "CXX=aarch64-linux-gnu-g++-11" >> $GITHUB_ENV
Expand Down

0 comments on commit ebc967f

Please sign in to comment.