]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ci: Remove Ubuntu 18.04 jobs and add GCC 12 job (#1180)
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>
Sun, 16 Oct 2022 07:37:45 +0000 (10:37 +0300)
committerGitHub <noreply@github.com>
Sun, 16 Oct 2022 07:37:45 +0000 (09:37 +0200)
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.

.github/workflows/build.yaml

index bc1159b39e9163d292e51dbf691e97d8df10cff2..bf2fdc0229d6fddb3a76359b45397e23f6b8d336 100644 (file)
@@ -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