diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2022-10-16 10:37:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-16 09:37:45 +0200 |
commit | 28af3d374eeff45582ab058f4642d9ef35067aa1 (patch) | |
tree | 24e36ef3fa565387495d42b7506fce0089a3d4f4 | |
parent | 794685e6f97bc8e16523634409eddc5cabe9949a (diff) | |
download | ccache-28af3d374eeff45582ab058f4642d9ef35067aa1.tar.gz |
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.
-rw-r--r-- | .github/workflows/build.yaml | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bc1159b3..bf2fdc02 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 |