From 4bb81f760978d12b4503bd3e7a23f21dbfb758ce Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Mon, 12 Sep 2022 19:11:43 +0200 Subject: Update Github CI OS and compilers (#1733) ubuntu-18.04 is deprecated (ubuntu-latest points to 20.04). macos-latest points to macos-11, so it makes sense to test macos-12, too. About the compilers, the general idea it to test the oldest and the newest versions easily available: switch to gcc-11 and clang-14. See: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c688fa004..29e81e166 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -177,7 +177,7 @@ jobs: strategy: fail-fast: true matrix: - os: ["ubuntu-latest", "ubuntu-18.04", "macOS-latest", "macos-11", "windows-latest"] + os: ["ubuntu-latest", "ubuntu-22.04", "macOS-latest", "macos-12", "windows-latest"] arch: ["x86_64"] gcrypt: ["--with-local-libgcrypt", ""] compiler: ["cc"] @@ -192,7 +192,7 @@ jobs: pcre: "--with-pcre" maxminddb: "--with-maxminddb" msan: "--with-sanitizer" - - compiler: "gcc-10" + - compiler: "gcc-11" os: ubuntu-latest arch: "x86_64" gcrypt: "" @@ -206,8 +206,8 @@ jobs: pcre: "--with-pcre" maxminddb: "--with-maxminddb" msan: "--with-sanitizer" - - compiler: "clang-12" - os: ubuntu-latest + - compiler: "clang-14" + os: ubuntu-22.04 arch: "x86_64" gcrypt: "" pcre: "--with-pcre" @@ -227,15 +227,15 @@ jobs: pcre: "--with-pcre" maxminddb: "--with-maxminddb" msan: "--with-thread-sanitizer" - - compiler: "clang-12" - os: ubuntu-latest + - compiler: "clang-14" + os: ubuntu-22.04 arch: "x86_64" gcrypt: "" pcre: "--with-pcre" maxminddb: "--with-maxminddb" msan: "--with-memory-sanitizer" - compiler: "cc" - os: ubuntu-18.04 + os: ubuntu-latest arch: "x86_64" gcrypt: "" pcre: "--with-pcre" @@ -249,7 +249,7 @@ jobs: maxminddb: "--with-maxminddb" msan: "" # Disable sanitizer on macos - compiler: "cc" - os: macos-11 + os: macos-12 arch: "x86_64" gcrypt: "" pcre: "--with-pcre" -- cgit v1.2.3