additional CI targets

This commit is contained in:
BlackMATov
2024-01-31 14:25:31 +07:00
parent 738878ca28
commit 1621b8c1b3
4 changed files with 32 additions and 30 deletions

View File

@@ -10,17 +10,19 @@ jobs:
matrix:
config:
# https://github.com/actions/virtual-environments/tree/main/images/macos
- { os: "macos-12", xcode: "14.0", arch: "x64" }
- { os: "macos-12", xcode: "14.1", arch: "x64" }
- { os: "macos-12", xcode: "14.2", arch: "x64" }
name: "xcode-${{matrix.config.xcode}}"
- { os: "macos-12", xcode: "13.4.1", arch: "x64" }
- { os: "macos-13", xcode: "14.3.1", arch: "x64" }
- { os: "macos-13", xcode: "14.3.1", arch: "arm64" }
- { os: "macos-14", xcode: "15.2", arch: "x64" }
- { os: "macos-14", xcode: "15.2", arch: "arm64" }
name: "xcode-${{matrix.config.xcode}}-${{matrix.config.arch}}"
steps:
- name: Setup
run: |
brew update
brew install cmake ninja
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Select Xcode

View File

@@ -9,11 +9,11 @@ jobs:
fail-fast: false
matrix:
config:
# https://github.com/actions/virtual-environments/tree/main/images/linux
# https://github.com/actions/runner-images/tree/main/images/ubuntu
- { os: "ubuntu-20.04", cc: "gcc-10", cxx: "g++-10" }
- { os: "ubuntu-20.04", cc: "clang-10", cxx: "clang++-10" }
- { os: "ubuntu-22.04", cc: "gcc-12", cxx: "g++-12" }
- { os: "ubuntu-22.04", cc: "clang-14", cxx: "clang++-14" }
- { os: "ubuntu-22.04", cc: "gcc-13", cxx: "g++-13" }
- { os: "ubuntu-22.04", cc: "clang-15", cxx: "clang++-15" }
name: "${{matrix.config.cxx}}"
steps:
- name: Setup
@@ -21,7 +21,7 @@ jobs:
sudo apt-get update -o Acquire::Retries=10
sudo apt-get install -o Acquire::Retries=10 -y cmake ninja-build ${{matrix.config.cc}} ${{matrix.config.cxx}}
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Build

View File

@@ -9,17 +9,17 @@ jobs:
fail-fast: false
matrix:
config:
# https://github.com/actions/virtual-environments/tree/main/images/win
# https://github.com/actions/runner-images/tree/main/images/windows
- { os: "windows-2019", vc: "msvc2019", arch: "x86" }
- { os: "windows-2019", vc: "msvc2019", arch: "x64" }
- { os: "windows-2022", vc: "msvc2022", arch: "x86" }
- { os: "windows-2022", vc: "msvc2022", arch: "x64" }
name: "${{matrix.config.vc}} ${{matrix.config.arch}}"
name: "${{matrix.config.vc}}-${{matrix.config.arch}}"
steps:
- name: Setup
run: choco install cmake ninja
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Select MSVC

View File

@@ -35,11 +35,11 @@
}
},
{
"name": "linux-clang-14",
"name": "linux-clang-15",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-14",
"CMAKE_CXX_COMPILER": "clang++-14"
"CMAKE_C_COMPILER": "clang-15",
"CMAKE_CXX_COMPILER": "clang++-15"
}
},
{
@@ -51,11 +51,11 @@
}
},
{
"name": "linux-gcc-12",
"name": "linux-gcc-13",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc-12",
"CMAKE_CXX_COMPILER": "g++-12"
"CMAKE_C_COMPILER": "gcc-13",
"CMAKE_CXX_COMPILER": "g++-13"
}
},
{
@@ -213,14 +213,14 @@
"configurePreset": "linux-clang-10"
},
{
"name": "linux-clang-14-debug",
"name": "linux-clang-15-debug",
"configuration": "Debug",
"configurePreset": "linux-clang-14"
"configurePreset": "linux-clang-15"
},
{
"name": "linux-clang-14-release",
"name": "linux-clang-15-release",
"configuration": "Release",
"configurePreset": "linux-clang-14"
"configurePreset": "linux-clang-15"
},
{
"name": "linux-gcc-10-debug",
@@ -233,14 +233,14 @@
"configurePreset": "linux-gcc-10"
},
{
"name": "linux-gcc-12-debug",
"name": "linux-gcc-13-debug",
"configuration": "Debug",
"configurePreset": "linux-gcc-12"
"configurePreset": "linux-gcc-13"
},
{
"name": "linux-gcc-12-release",
"name": "linux-gcc-13-release",
"configuration": "Release",
"configurePreset": "linux-gcc-12"
"configurePreset": "linux-gcc-13"
},
{
"name": "macos-arm64-debug",
@@ -347,9 +347,9 @@
"configurePreset": "linux-clang-10"
},
{
"name": "linux-clang-14",
"name": "linux-clang-15",
"inherits": "test-base",
"configurePreset": "linux-clang-14"
"configurePreset": "linux-clang-15"
},
{
"name": "linux-gcc-10",
@@ -357,9 +357,9 @@
"configurePreset": "linux-gcc-10"
},
{
"name": "linux-gcc-12",
"name": "linux-gcc-13",
"inherits": "test-base",
"configurePreset": "linux-gcc-12"
"configurePreset": "linux-gcc-13"
},
{
"name": "macos-arm64",