From cce9e9dbe5a7bc703032bed8a3c9a95e87d8bae7 Mon Sep 17 00:00:00 2001 From: Gudmundur Adalsteinsson Date: Tue, 20 Jun 2023 10:04:40 +0000 Subject: [PATCH 1/3] Upgrade deprecated CI OS --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccceb96..53a5b34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: libzmqbuild: ["cmake"] include: # older libzmq and gcc without draft - - os: "ubuntu-18.04" + - os: "ubuntu-22.04" cppstd: "11" cc: "gcc-7" cxx: "g++-7" @@ -28,7 +28,7 @@ jobs: libzmq: "4.2.0" libzmqbuild: "pkgconfig" # gcc 4.8 - - os: "ubuntu-18.04" + - os: "ubuntu-22.04" cppstd: "11" cc: "gcc-4.8" cxx: "g++-4.8" @@ -37,7 +37,7 @@ jobs: libzmqbuild: "cmake" aptinstall: "gcc-4.8 g++-4.8" # gcc 5 - - os: "ubuntu-18.04" + - os: "ubuntu-22.04" cppstd: "11" cc: "gcc-5" cxx: "g++-5" From 13becaea5344a781821542072917150c1cd324db Mon Sep 17 00:00:00 2001 From: Gudmundur Adalsteinsson Date: Tue, 12 Sep 2023 21:50:13 +0000 Subject: [PATCH 2/3] Remove old compilers --- .github/workflows/ci.yml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53a5b34..837c5fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,32 +19,14 @@ jobs: libzmq: ["4.3.4"] libzmqbuild: ["cmake"] include: - # older libzmq and gcc without draft + # older libzmq and without draft - os: "ubuntu-22.04" cppstd: "11" - cc: "gcc-7" - cxx: "g++-7" + cc: "gcc-11" + cxx: "g++-11" drafts: "OFF" libzmq: "4.2.0" libzmqbuild: "pkgconfig" - # gcc 4.8 - - os: "ubuntu-22.04" - cppstd: "11" - cc: "gcc-4.8" - cxx: "g++-4.8" - drafts: "ON" - libzmq: "4.3.4" - libzmqbuild: "cmake" - aptinstall: "gcc-4.8 g++-4.8" - # gcc 5 - - os: "ubuntu-22.04" - cppstd: "11" - cc: "gcc-5" - cxx: "g++-5" - drafts: "ON" - libzmq: "4.3.4" - libzmqbuild: "cmake" - aptinstall: "gcc-5 g++-5" # without draft - os: "ubuntu-latest" cppstd: "20" From 47c1278bfc20490d8fb338e006150f0850e9b593 Mon Sep 17 00:00:00 2001 From: Gudmundur Adalsteinsson Date: Wed, 13 Sep 2023 22:15:46 +0000 Subject: [PATCH 3/3] Explicit images --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 837c5fe..785fa7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: ["ubuntu-latest"] + os: ["ubuntu-20.04"] cppstd: ["98", "11", "20"] cc: ["gcc-10"] cxx: ["g++-10"] @@ -20,23 +20,23 @@ jobs: libzmqbuild: ["cmake"] include: # older libzmq and without draft - - os: "ubuntu-22.04" + - os: "ubuntu-20.04" cppstd: "11" - cc: "gcc-11" - cxx: "g++-11" + cc: "gcc-9" + cxx: "g++-9" drafts: "OFF" libzmq: "4.2.0" libzmqbuild: "pkgconfig" # without draft - - os: "ubuntu-latest" + - os: "ubuntu-22.04" cppstd: "20" - cc: "gcc-10" - cxx: "g++-10" + cc: "gcc-11" + cxx: "g++-11" drafts: "OFF" libzmq: "4.3.4" libzmqbuild: "cmake" # coverage (gcc version should match gcov version) - - os: "ubuntu-latest" + - os: "ubuntu-20.04" cppstd: "17" cc: "gcc-9" cxx: "g++-9" @@ -46,7 +46,7 @@ jobs: coverage: "-DCOVERAGE=ON" aptinstall: "lcov" # clang - - os: "ubuntu-latest" + - os: "ubuntu-20.04" cppstd: "17" cc: "clang-12" cxx: "clang++-12" @@ -71,7 +71,7 @@ jobs: libzmq: "4.3.4" libzmqbuild: "cmake" platform: "-Ax64" - - os: "windows-latest" + - os: "windows-2022" cppstd: "20" cc: "msbuild" cxx: "msbuild"