Merge pull request #599 from zeromq/gummif-patch-2

Upgrade deprecated CI OS
This commit is contained in:
Gudmundur Adalsteinsson 2023-09-14 08:25:37 +00:00 committed by GitHub
commit 160ac8ec61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: ["ubuntu-latest"] os: ["ubuntu-20.04"]
cppstd: ["98", "11", "20"] cppstd: ["98", "11", "20"]
cc: ["gcc-10"] cc: ["gcc-10"]
cxx: ["g++-10"] cxx: ["g++-10"]
@ -19,42 +19,24 @@ jobs:
libzmq: ["4.3.4"] libzmq: ["4.3.4"]
libzmqbuild: ["cmake"] libzmqbuild: ["cmake"]
include: include:
# older libzmq and gcc without draft # older libzmq and without draft
- os: "ubuntu-18.04" - os: "ubuntu-20.04"
cppstd: "11" cppstd: "11"
cc: "gcc-7" cc: "gcc-9"
cxx: "g++-7" cxx: "g++-9"
drafts: "OFF" drafts: "OFF"
libzmq: "4.2.0" libzmq: "4.2.0"
libzmqbuild: "pkgconfig" libzmqbuild: "pkgconfig"
# gcc 4.8
- os: "ubuntu-18.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-18.04"
cppstd: "11"
cc: "gcc-5"
cxx: "g++-5"
drafts: "ON"
libzmq: "4.3.4"
libzmqbuild: "cmake"
aptinstall: "gcc-5 g++-5"
# without draft # without draft
- os: "ubuntu-latest" - os: "ubuntu-22.04"
cppstd: "20" cppstd: "20"
cc: "gcc-10" cc: "gcc-11"
cxx: "g++-10" cxx: "g++-11"
drafts: "OFF" drafts: "OFF"
libzmq: "4.3.4" libzmq: "4.3.4"
libzmqbuild: "cmake" libzmqbuild: "cmake"
# coverage (gcc version should match gcov version) # coverage (gcc version should match gcov version)
- os: "ubuntu-latest" - os: "ubuntu-20.04"
cppstd: "17" cppstd: "17"
cc: "gcc-9" cc: "gcc-9"
cxx: "g++-9" cxx: "g++-9"
@ -64,7 +46,7 @@ jobs:
coverage: "-DCOVERAGE=ON" coverage: "-DCOVERAGE=ON"
aptinstall: "lcov" aptinstall: "lcov"
# clang # clang
- os: "ubuntu-latest" - os: "ubuntu-20.04"
cppstd: "17" cppstd: "17"
cc: "clang-12" cc: "clang-12"
cxx: "clang++-12" cxx: "clang++-12"
@ -89,7 +71,7 @@ jobs:
libzmq: "4.3.4" libzmq: "4.3.4"
libzmqbuild: "cmake" libzmqbuild: "cmake"
platform: "-Ax64" platform: "-Ax64"
- os: "windows-latest" - os: "windows-2022"
cppstd: "20" cppstd: "20"
cc: "msbuild" cc: "msbuild"
cxx: "msbuild" cxx: "msbuild"