From: Orgad Shaneh Date: Sun, 16 Oct 2022 07:37:45 +0000 (+0300) Subject: ci: Remove Ubuntu 18.04 jobs and add GCC 12 job (#1180) X-Git-Tag: v4.7~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28af3d374eeff45582ab058f4642d9ef35067aa1;p=thirdparty%2Fccache.git ci: Remove Ubuntu 18.04 jobs and add GCC 12 job (#1180) It is deprecated. See https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/ Add GCC 12 on Ubuntu 22.04. --- diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bc1159b39..bf2fdc022 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -25,18 +25,10 @@ jobs: fail-fast: false matrix: config: - - os: ubuntu-18.04 - compiler: gcc - version: "9" - - os: ubuntu-20.04 compiler: gcc version: "10" - - os: ubuntu-18.04 - compiler: clang - version: "8" - - os: ubuntu-20.04 compiler: clang version: "9" @@ -57,6 +49,10 @@ jobs: compiler: gcc version: "11" + - os: ubuntu-22.04 + compiler: gcc + version: "12" + - os: macOS-11 compiler: xcode version: "11.7" @@ -72,7 +68,7 @@ jobs: packages="elfutils libhiredis-dev libzstd-dev ninja-build pkg-config python3 redis-server redis-tools" # Install ld.gold (binutils) and ld.lld (lld) on different runs. - if [ "${{ matrix.config.os }}" = "ubuntu-18.04" ]; then + if [ "${{ matrix.config.os }}" = "ubuntu-20.04" ]; then sudo apt-get install -y $packages binutils else sudo apt-get install -y $packages lld