Skip to content

Commit

Permalink
🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
yosh-matsuda committed Nov 6, 2024
1 parent 7a73a4f commit 7ef1522
Showing 1 changed file with 27 additions and 19 deletions.
46 changes: 27 additions & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,23 @@ jobs:
strategy:
fail-fast: false
matrix:
compiler:
compiler: [{ c: "cl", cxx: "cl" }]
version:
[
{ c: "clang-cl", cxx: "clang-cl" },
{ c: "cl", cxx: "cl" },
{ toolset: "14.30", vs: "17.0" },
{ toolset: "14.31", vs: "17.1" },
{ toolset: "14.32", vs: "17.2" },
{ toolset: "14.33", vs: "17.3" },
{ toolset: "14.34", vs: "17.4" },
{ toolset: "14.35", vs: "17.5" },
{ toolset: "14.36", vs: "17.6" },
{ toolset: "14.37", vs: "17.7" },
{ toolset: "14.38", vs: "17.8" },
{ toolset: "14.39", vs: "17.9" },
{ toolset: "14.40", vs: "17.10" },
{ toolset: "14.41", vs: "17.11" },
]
name: Windows - ${{ matrix.compiler.cxx }}
name: Windows - ${{ matrix.version.toolset }}
runs-on: windows-latest

env:
Expand All @@ -34,8 +45,14 @@ jobs:
with:
submodules: true

- name: Install all MSVC versions
run: |
"C:\Program Files\Microsoft Visual Studio\Installer\setup.exe" modify --add Microsoft.VisualStudio.Component.VC.${{ matrix.version.toolset }}.${{ matrix.version.vs }}.x86.x64
- name: Configure VS Toolchain
uses: ilammy/msvc-dev-cmd@v1
with:
toolset: ${{ matrix.version }}

- name: Install dependencies
run: vcpkg install yyjson fmt nameof gtest --triplet ${{ env.triplet }}
Expand All @@ -59,18 +76,9 @@ jobs:
{ c: "gcc-12", cxx: "g++-12" },
{ c: "gcc-13", cxx: "g++-13" },
{ c: "gcc-14", cxx: "g++-14" },
{
c: "clang-16",
cxx: "clang++-16",
},
{
c: "clang-17",
cxx: "clang++-17",
},
{
c: "clang-18",
cxx: "clang++-18",
},
{ c: "clang-16", cxx: "clang++-16" },
{ c: "clang-17", cxx: "clang++-17" },
{ c: "clang-18", cxx: "clang++-18" },
]
name: Ubuntu - ${{ matrix.compiler.cxx }}
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -107,9 +115,9 @@ jobs:
matrix:
compiler:
[
{ c: "gcc-12", cxx: "g++-12", brewpkg: "", },
{ c: "gcc-13", cxx: "g++-13", brewpkg: "", },
{ c: "gcc-14", cxx: "g++-14", brewpkg: "", },
{ c: "gcc-12", cxx: "g++-12", brewpkg: "" },
{ c: "gcc-13", cxx: "g++-13", brewpkg: "" },
{ c: "gcc-14", cxx: "g++-14", brewpkg: "" },
{
c: "$(brew --prefix llvm@16)/bin/clang",
cxx: "$(brew --prefix llvm@16)/bin/clang++",
Expand Down

0 comments on commit 7ef1522

Please sign in to comment.