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 bc3c7a3 commit 3c2f427
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 @@ -29,12 +29,14 @@ jobs:
- name: Prepare Linux-64
if: ${{ matrix.target == 'linux' && matrix.platform == 'linux-x64' }}
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
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 apt-get install -y ppa:ubuntu-toolchain-r/test
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 3c2f427

Please # to comment.