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.
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"
compiler: gcc
version: "11"
+ - os: ubuntu-22.04
+ compiler: gcc
+ version: "12"
+
- os: macOS-11
compiler: xcode
version: "11.7"
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