File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,19 @@ jobs:
42
42
add-apt-repository -y ppa:git-core/ppa # For git>=2.18.
43
43
apt-get update
44
44
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
47
45
48
46
- name : Install aarch64-linux-gnu
49
47
if : ${{ matrix.platform == 'linux-arm64' }}
50
48
run : |
51
49
apt-get update
52
50
apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
53
51
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
+
54
58
- uses : actions/checkout@v3
55
59
with :
56
60
submodules : recursive
You can’t perform that action at this time.
0 commit comments