From 5f68b5923d788897924d715d2535313f84bd30bf Mon Sep 17 00:00:00 2001 From: SChernykh Date: Thu, 18 Aug 2022 16:37:32 +0200 Subject: [PATCH] CI: added Ubuntu 22.04 --- .github/workflows/c-cpp.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 5bc6447..7901343 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -10,8 +10,8 @@ jobs: strategy: matrix: config: - - {os: ubuntu-latest, c: gcc-11, cpp: g++-11} - - {os: ubuntu-18.04, c: gcc, cpp: g++} + - {os: ubuntu-20.04, c: gcc-11, cpp: g++-11} + - {os: ubuntu-22.04, c: gcc-12, cpp: g++-12} steps: - name: Install dependencies @@ -51,15 +51,15 @@ jobs: build-ubuntu-static-libs: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Install dependencies run: | sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sudo apt update - 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 + sudo apt install -y git build-essential cmake autoconf libgss-dev gcc-12 g++-12 + sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100 --slave /usr/bin/g++ g++ /usr/bin/g++-12 --slave /usr/bin/gcov gcov /usr/bin/gcov-12 - name: Checkout repository uses: actions/checkout@v2 @@ -115,7 +115,7 @@ jobs: build-ubuntu-aarch64: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Install dependencies