Skip to content

Commit 3c2f427

Browse files
committed
try fix build
1 parent bc3c7a3 commit 3c2f427

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ jobs:
2929
- name: Prepare Linux-64
3030
if: ${{ matrix.target == 'linux' && matrix.platform == 'linux-x64' }}
3131
run: |
32+
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
3233
sudo apt-get install -y gcc-11 g++-11
3334
echo "CC=gcc-11" >> $GITHUB_ENV
3435
echo "CXX=g++-11" >> $GITHUB_ENV
3536
- name: Prepare Linux-aarch64
3637
if: ${{ matrix.target == 'linux' && matrix.platform == 'linux-aarch64' }}
3738
run: |
39+
sudo apt-get install -y ppa:ubuntu-toolchain-r/test
3840
sudo apt-get install -y gcc-11-aarch64-linux-gnu g++-11-aarch64-linux-gnu
3941
echo "CC=aarch64-linux-gnu-gcc-11" >> $GITHUB_ENV
4042
echo "CXX=aarch64-linux-gnu-g++-11" >> $GITHUB_ENV

0 commit comments

Comments
 (0)