File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 3434 uses : dtolnay/rust-toolchain@stable
3535 with :
3636 targets : ${{ matrix.target }}
37+ - name : Install GCC 11 on Linux
38+ if : runner.os == 'Linux'
39+ run : |
40+ sudo apt-get update
41+ sudo apt-get install -y gcc-11 g++-11
42+ - name : Set CC and CXX to gcc-11
43+ if : runner.os == 'Linux'
44+ run : |
45+ echo "CC=gcc-11" >> $GITHUB_ENV
46+ echo "CXX=g++-11" >> $GITHUB_ENV
3747 - name : Cache dependencies
3848 uses : actions/cache@v4
3949 with :
@@ -91,6 +101,16 @@ jobs:
91101 libssl-dev:arm64 \
92102 pkg-config-aarch64-linux-gnu
93103 fi
104+ - name : Install GCC 11 on Linux
105+ if : runner.os == 'Linux'
106+ run : |
107+ sudo apt-get update
108+ sudo apt-get install -y gcc-11 g++-11
109+ - name : Set CC and CXX to gcc-11
110+ if : runner.os == 'Linux'
111+ run : |
112+ echo "CC=gcc-11" >> $GITHUB_ENV
113+ echo "CXX=g++-11" >> $GITHUB_ENV
94114 # macOS-specific dependencies
95115 - name : Install macOS dependencies
96116 if : runner.os == 'macOS'
You can’t perform that action at this time.
0 commit comments