File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,19 @@ jobs:
4242 add-apt-repository -y ppa:git-core/ppa # For git>=2.18.
4343 apt-get update
4444 apt-get install -y sudo git gcc-9 g++-9
45- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 100
46- update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 100
4745
4846 - name : Install aarch64-linux-gnu
4947 if : ${{ matrix.platform == 'linux-arm64' }}
5048 run : |
5149 apt-get update
5250 apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
5351
52+ - name : Prepare container
53+ if : ${{ matrix.target == 'linux' }}
54+ run : |
55+ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 100
56+ update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 100
57+
5458 - uses : actions/checkout@v3
5559 with :
5660 submodules : recursive
You can’t perform that action at this time.
0 commit comments