Use gcc-11 for build-ubuntu-static-libs

This commit is contained in:
SChernykh 2022-06-07 14:37:26 +02:00
parent a0778c8d7b
commit cbc00e6416

View file

@ -56,8 +56,10 @@ jobs:
steps: steps:
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt update sudo apt update
sudo apt install -y git build-essential cmake autoconf libgss-dev sudo apt install -y git build-essential cmake autoconf libgss-dev gcc-11 g++-11
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2