workflow: Bump g++ and clang
@@ -18,7 +18,8 @@ jobs:
if: runner.os == 'Linux'
run: |
sudo apt-get install \
- g++-8 \
+ g++-10 \
+ clang-10 \
autoconf \
automake \
autotools-dev \
@@ -33,16 +34,21 @@ jobs:
if: runner.os == 'macOS'
run: |
brew install libev cunit autoconf automake pkg-config libtool
- - name: Setup clang
- if: matrix.compiler == 'clang'
+ - name: Setup clang (Linux)
+ if: runner.os == 'Linux' && matrix.compiler == 'clang'
+ run: |
+ echo 'CC=clang-10' >> $GITHUB_ENV
+ echo 'CXX=clang++-10' >> $GITHUB_ENV
+ - name: Setup clang (MacOS)
+ if: runner.os == 'macOS' && matrix.compiler == 'clang'
run: |
echo 'CC=clang' >> $GITHUB_ENV
echo 'CXX=clang++' >> $GITHUB_ENV
- name: Setup gcc
if: runner.os == 'Linux' && matrix.compiler == 'gcc'
run: |
- echo 'CC=gcc-8' >> $GITHUB_ENV
- echo 'CXX=g++-8' >> $GITHUB_ENV
+ echo 'CC=gcc-10' >> $GITHUB_ENV
+ echo 'CXX=g++-10' >> $GITHUB_ENV
- name: Build OpenSSL
run: |
./ci/build_openssl.sh
