From a408db302d7443e303d739cdc06ab8d6a524ab47 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Fri, 13 Feb 2026 10:27:09 -0800 Subject: [PATCH 1/3] Add VS 2026 GHAs --- .github/linters/actionlint.yml | 1 + .github/workflows/clangcl.yml | 128 ++++++++++++++++++++++++++++++ .github/workflows/main.yml | 65 +++++++++++---- .github/workflows/shmath.yml | 67 ++++++++++++---- .github/workflows/shmathclang.yml | 124 +++++++++++++++++++++++++++++ .github/workflows/test.yml | 76 ++++++++++++++---- .github/workflows/xdsp.yml | 64 +++++++++++---- .github/workflows/xdspclang.yml | 124 +++++++++++++++++++++++++++++ 8 files changed, 590 insertions(+), 59 deletions(-) create mode 100644 .github/workflows/clangcl.yml create mode 100644 .github/workflows/shmathclang.yml create mode 100644 .github/workflows/xdspclang.yml diff --git a/.github/linters/actionlint.yml b/.github/linters/actionlint.yml index 8f70803..5a72017 100644 --- a/.github/linters/actionlint.yml +++ b/.github/linters/actionlint.yml @@ -2,3 +2,4 @@ self-hosted-runner: # Workaround until linter is updated labels: - windows-11-arm + - windows-2025-vs2026 diff --git a/.github/workflows/clangcl.yml b/.github/workflows/clangcl.yml new file mode 100644 index 0000000..9105616 --- /dev/null +++ b/.github/workflows/clangcl.yml @@ -0,0 +1,128 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# +# http://go.microsoft.com/fwlink/?LinkID=615560 + +name: 'CMake (clang-cl)' + +on: + push: + branches: "main" + paths-ignore: + - '*.md' + - LICENSE + - '.azuredevops/**' + - '.nuget/*' + - build/*.ps1 + pull_request: + branches: "main" + paths-ignore: + - '*.md' + - LICENSE + - '.azuredevops/**' + - '.nuget/*' + - build/*.ps1 + +permissions: + contents: read + +jobs: + build: + runs-on: windows-2022 + + strategy: + fail-fast: false + + matrix: + build_type: [x64-Debug-Clang, x64-Release-Clang] + arch: [amd64] + include: + - build_type: x86-Debug-Clang + arch: amd64_x86 + - build_type: x86-Release-Clang + arch: amd64_x86 + - build_type: arm64-Debug-Clang + arch: amd64_arm64 + - build_type: arm64-Release-Clang + arch: amd64_arm64 + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Clone test repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: walbourn/directxmathtest + path: Tests + ref: main + + - name: 'Install Ninja' + run: choco install ninja + + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 + with: + arch: ${{ matrix.arch }} + + - name: 'Configure CMake' + working-directory: ${{ github.workspace }} + run: cmake --preset=${{ matrix.build_type }} + + - name: 'Build' + working-directory: ${{ github.workspace }} + run: cmake --build out/build/${{ matrix.build_type }} -DBUILD_TESTING=ON + + - if: (matrix.build_type == 'x64-Release-Clang') || (matrix.build_type == 'x86-Release-Clang') + timeout-minutes: 10 + name: 'Test' + working-directory: ${{ github.workspace }} + run: ctest --preset=${{ matrix.build_type }} --output-on-failure + + build2026: + runs-on: windows-2025-vs2026 + + strategy: + fail-fast: false + + matrix: + build_type: [x64-Debug-Clang, x64-Release-Clang] + arch: [amd64] + include: + - build_type: x86-Debug-Clang + arch: amd64_x86 + - build_type: x86-Release-Clang + arch: amd64_x86 + - build_type: arm64-Debug-Clang + arch: amd64_arm64 + - build_type: arm64-Release-Clang + arch: amd64_arm64 + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Clone test repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: walbourn/directxmathtest + path: Tests + ref: main + + - name: 'Install Ninja' + run: choco install ninja + + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 + with: + arch: ${{ matrix.arch }} + + - name: 'Configure CMake' + working-directory: ${{ github.workspace }} + run: cmake --preset=${{ matrix.build_type }} + + - name: 'Build' + working-directory: ${{ github.workspace }} + run: cmake --build out/build/${{ matrix.build_type }} -DBUILD_TESTING=ON + + - if: (matrix.build_type == 'x64-Release-Clang') || (matrix.build_type == 'x86-Release-Clang') + timeout-minutes: 10 + name: 'Test' + working-directory: ${{ github.workspace }} + run: ctest --preset=${{ matrix.build_type }} --output-on-failure diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9219e79..ba54715 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,15 +35,12 @@ jobs: matrix: toolver: ['14.29', '14'] - build_type: [x64-Debug, x64-Release, x64-Debug-Clang, x64-Release-Clang] + build_type: [x64-Debug, x64-Release] arch: [amd64] include: - toolver: '14.29' build_type: x86-Debug arch: amd64_x86 - - toolver: '14.29' - build_type: x86-Debug-Clang - arch: amd64_x86 - toolver: '14' build_type: x86-Debug arch: amd64_x86 @@ -62,24 +59,63 @@ jobs: - toolver: '14' build_type: arm64ec-Release arch: amd64_arm64 - - toolver: '14' - build_type: x86-Debug-Clang + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Clone test repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: walbourn/directxmathtest + path: Tests + ref: main + + - name: 'Install Ninja' + run: choco install ninja + + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 + with: + arch: ${{ matrix.arch }} + toolset: ${{ matrix.toolver }} + + - name: 'Configure CMake' + working-directory: ${{ github.workspace }} + run: cmake --preset=${{ matrix.build_type }} + + - name: 'Build' + working-directory: ${{ github.workspace }} + run: cmake --build out/build/${{ matrix.build_type }} + + build2026: + runs-on: windows-2025-vs2026 + + strategy: + fail-fast: false + + matrix: + build_type: [x64-Debug, x64-Release] + arch: [amd64] + include: + - build_type: x86-Debug arch: amd64_x86 - - toolver: '14' - build_type: x86-Release-Clang + - build_type: x86-Debug arch: amd64_x86 - - toolver: '14' - build_type: arm64-Debug-Clang + - build_type: x86-Release + arch: amd64_x86 + - build_type: arm64-Debug arch: amd64_arm64 - - toolver: '14' - build_type: arm64-Release-Clang + - build_type: arm64-Release + arch: amd64_arm64 + - build_type: arm64ec-Debug + arch: amd64_arm64 + - build_type: arm64ec-Release arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: repository: walbourn/directxmathtest path: Tests @@ -91,7 +127,6 @@ jobs: - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 with: arch: ${{ matrix.arch }} - toolset: ${{ matrix.toolver }} - name: 'Configure CMake' working-directory: ${{ github.workspace }} diff --git a/.github/workflows/shmath.yml b/.github/workflows/shmath.yml index 0861a27..f87e7ee 100644 --- a/.github/workflows/shmath.yml +++ b/.github/workflows/shmath.yml @@ -35,15 +35,12 @@ jobs: matrix: toolver: ['14.29', '14'] - build_type: [x64-Debug, x64-Release, x64-Debug-Clang, x64-Release-Clang] + build_type: [x64-Debug, x64-Release] arch: [amd64] include: - toolver: '14.29' build_type: x86-Debug arch: amd64_x86 - - toolver: '14.29' - build_type: x86-Debug-Clang - arch: amd64_x86 - toolver: '14' build_type: x86-Debug arch: amd64_x86 @@ -62,24 +59,65 @@ jobs: - toolver: '14' build_type: arm64ec-Release arch: amd64_arm64 - - toolver: '14' - build_type: x86-Debug-Clang + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Clone test repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: walbourn/directxmathtest + path: Tests + ref: main + + - name: 'Install Ninja' + run: choco install ninja + + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 + with: + arch: ${{ matrix.arch }} + toolset: ${{ matrix.toolver }} + + - name: 'Configure CMake' + working-directory: ${{ github.workspace }} + run: > + cmake --preset=${{ matrix.build_type }} + -DBUILD_SHMATH=ON -DBUILD_DX11=ON -DBUILD_DX12=ON + + - name: 'Build' + working-directory: ${{ github.workspace }} + run: cmake --build out/build/${{ matrix.build_type }} + + build2026: + runs-on: windows-2025-vs2026 + + strategy: + fail-fast: false + + matrix: + build_type: [x64-Debug, x64-Release] + arch: [amd64] + include: + - build_type: x86-Debug arch: amd64_x86 - - toolver: '14' - build_type: x86-Release-Clang + - build_type: x86-Debug arch: amd64_x86 - - toolver: '14' - build_type: arm64-Debug-Clang + - build_type: x86-Release + arch: amd64_x86 + - build_type: arm64-Debug arch: amd64_arm64 - - toolver: '14' - build_type: arm64-Release-Clang + - build_type: arm64-Release + arch: amd64_arm64 + - build_type: arm64ec-Debug + arch: amd64_arm64 + - build_type: arm64ec-Release arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: repository: walbourn/directxmathtest path: Tests @@ -91,7 +129,6 @@ jobs: - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 with: arch: ${{ matrix.arch }} - toolset: ${{ matrix.toolver }} - name: 'Configure CMake' working-directory: ${{ github.workspace }} diff --git a/.github/workflows/shmathclang.yml b/.github/workflows/shmathclang.yml new file mode 100644 index 0000000..2d510e8 --- /dev/null +++ b/.github/workflows/shmathclang.yml @@ -0,0 +1,124 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# +# http://go.microsoft.com/fwlink/?LinkID=615560 + +name: 'CMake (SHMath clang-cl)' + +on: + push: + branches: "main" + paths-ignore: + - '*.md' + - LICENSE + - '.azuredevops/**' + - '.nuget/*' + - build/*.ps1 + pull_request: + branches: "main" + paths-ignore: + - '*.md' + - LICENSE + - '.azuredevops/**' + - '.nuget/*' + - build/*.ps1 + +permissions: + contents: read + +jobs: + build: + runs-on: windows-2022 + + strategy: + fail-fast: false + + matrix: + build_type: [x64-Debug-Clang, x64-Release-Clang] + arch: [amd64] + include: + - build_type: x86-Debug-Clang + arch: amd64_x86 + - build_type: x86-Debug-Clang + arch: amd64_x86 + - build_type: x86-Release-Clang + arch: amd64_x86 + - build_type: arm64-Debug-Clang + arch: amd64_arm64 + - build_type: arm64-Release-Clang + arch: amd64_arm64 + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Clone test repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: walbourn/directxmathtest + path: Tests + ref: main + + - name: 'Install Ninja' + run: choco install ninja + + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 + with: + arch: ${{ matrix.arch }} + + - name: 'Configure CMake' + working-directory: ${{ github.workspace }} + run: > + cmake --preset=${{ matrix.build_type }} + -DBUILD_SHMATH=ON -DBUILD_DX11=ON -DBUILD_DX12=ON + + - name: 'Build' + working-directory: ${{ github.workspace }} + run: cmake --build out/build/${{ matrix.build_type }} + + build2026: + runs-on: windows-2025-vs2026 + + strategy: + fail-fast: false + + matrix: + build_type: [x64-Debug-Clang, x64-Release-Clang] + arch: [amd64] + include: + - build_type: x86-Debug-Clang + arch: amd64_x86 + - build_type: x86-Debug-Clang + arch: amd64_x86 + - build_type: x86-Release-Clang + arch: amd64_x86 + - build_type: arm64-Debug-Clang + arch: amd64_arm64 + - build_type: arm64-Release-Clang + arch: amd64_arm64 + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Clone test repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: walbourn/directxmathtest + path: Tests + ref: main + + - name: 'Install Ninja' + run: choco install ninja + + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 + with: + arch: ${{ matrix.arch }} + + - name: 'Configure CMake' + working-directory: ${{ github.workspace }} + run: > + cmake --preset=${{ matrix.build_type }} + -DBUILD_SHMATH=ON -DBUILD_DX11=ON -DBUILD_DX12=ON + + - name: 'Build' + working-directory: ${{ github.workspace }} + run: cmake --build out/build/${{ matrix.build_type }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 984ce1f..95a8f70 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,7 @@ jobs: matrix: toolver: ['14.29', '14'] - build_type: [x64-Debug, x64-Release, x64-Debug-Clang, x64-Release-Clang] + build_type: [x64-Debug, x64-Release] arch: [amd64] include: - toolver: '14.29' @@ -45,24 +45,12 @@ jobs: - toolver: '14.29' build_type: x86-Release arch: amd64_x86 - - toolver: '14.29' - build_type: x86-Debug-Clang - arch: amd64_x86 - - toolver: '14.29' - build_type: x86-Release-Clang - arch: amd64_x86 - toolver: '14' build_type: x86-Debug arch: amd64_x86 - toolver: '14' build_type: x86-Release arch: amd64_x86 - - toolver: '14' - build_type: x86-Debug-Clang - arch: amd64_x86 - - toolver: '14' - build_type: x86-Release-Clang - arch: amd64_x86 - toolver: '14' build_type: arm64-Debug arch: amd64_arm64 @@ -77,10 +65,10 @@ jobs: arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: repository: walbourn/directxmathtest path: Tests @@ -107,3 +95,61 @@ jobs: name: 'Test' working-directory: ${{ github.workspace }} run: ctest --preset=${{ matrix.build_type }} --output-on-failure + + build2026: + runs-on: windows-2025-vs2026 + + strategy: + fail-fast: false + + matrix: + build_type: [x64-Debug, x64-Release] + arch: [amd64] + include: + - build_type: x86-Debug + arch: amd64_x86 + - build_type: x86-Release + arch: amd64_x86 + - build_type: x86-Debug + arch: amd64_x86 + - build_type: x86-Release + arch: amd64_x86 + - build_type: arm64-Debug + arch: amd64_arm64 + - build_type: arm64-Release + arch: amd64_arm64 + - build_type: arm64ec-Debug + arch: amd64_arm64 + - build_type: arm64ec-Release + arch: amd64_arm64 + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Clone test repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: walbourn/directxmathtest + path: Tests + ref: main + + - name: 'Install Ninja' + run: choco install ninja + + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 + with: + arch: ${{ matrix.arch }} + + - name: 'Configure CMake' + working-directory: ${{ github.workspace }} + run: cmake --preset=${{ matrix.build_type }} -DBUILD_TESTING=ON + + - name: 'Build' + working-directory: ${{ github.workspace }} + run: cmake --build out/build/${{ matrix.build_type }} + + - if: (matrix.build_type == 'x64-Release') || (matrix.build_type == 'x86-Release') + timeout-minutes: 10 + name: 'Test' + working-directory: ${{ github.workspace }} + run: ctest --preset=${{ matrix.build_type }} --output-on-failure diff --git a/.github/workflows/xdsp.yml b/.github/workflows/xdsp.yml index 5b1c384..811dfc3 100644 --- a/.github/workflows/xdsp.yml +++ b/.github/workflows/xdsp.yml @@ -35,15 +35,12 @@ jobs: matrix: toolver: ['14.29', '14'] - build_type: [x64-Debug, x64-Release, x64-Debug-Clang, x64-Release-Clang] + build_type: [x64-Debug, x64-Release] arch: [amd64] include: - toolver: '14.29' build_type: x86-Debug arch: amd64_x86 - - toolver: '14.29' - build_type: x86-Debug-Clang - arch: amd64_x86 - toolver: '14' build_type: x86-Debug arch: amd64_x86 @@ -62,24 +59,63 @@ jobs: - toolver: '14' build_type: arm64ec-Release arch: amd64_arm64 - - toolver: '14' - build_type: x86-Debug-Clang + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Clone test repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: walbourn/directxmathtest + path: Tests + ref: main + + - name: 'Install Ninja' + run: choco install ninja + + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 + with: + arch: ${{ matrix.arch }} + toolset: ${{ matrix.toolver }} + + - name: 'Configure CMake' + working-directory: ${{ github.workspace }} + run: cmake --preset=${{ matrix.build_type }} -DBUILD_XDSP=ON + + - name: 'Build' + working-directory: ${{ github.workspace }} + run: cmake --build out/build/${{ matrix.build_type }} + + build2026: + runs-on: windows-2025-vs2026 + + strategy: + fail-fast: false + + matrix: + build_type: [x64-Debug, x64-Release] + arch: [amd64] + include: + - build_type: x86-Debug arch: amd64_x86 - - toolver: '14' - build_type: x86-Release-Clang + - build_type: x86-Debug arch: amd64_x86 - - toolver: '14' - build_type: arm64-Debug-Clang + - build_type: x86-Release + arch: amd64_x86 + - build_type: arm64-Debug arch: amd64_arm64 - - toolver: '14' - build_type: arm64-Release-Clang + - build_type: arm64-Release + arch: amd64_arm64 + - build_type: arm64ec-Debug + arch: amd64_arm64 + - build_type: arm64ec-Release arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/xdspclang.yml b/.github/workflows/xdspclang.yml new file mode 100644 index 0000000..45d4631 --- /dev/null +++ b/.github/workflows/xdspclang.yml @@ -0,0 +1,124 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# +# http://go.microsoft.com/fwlink/?LinkID=615560 + +name: 'CMake (XDSP clang-cl)' + +on: + push: + branches: "main" + paths-ignore: + - '*.md' + - LICENSE + - '.azuredevops/**' + - '.nuget/*' + - build/*.ps1 + pull_request: + branches: "main" + paths-ignore: + - '*.md' + - LICENSE + - '.azuredevops/**' + - '.nuget/*' + - build/*.ps1 + +permissions: + contents: read + +jobs: + build: + runs-on: windows-2022 + + strategy: + fail-fast: false + + matrix: + build_type: [x64-Debug-Clang, x64-Release-Clang] + arch: [amd64] + include: + - build_type: x86-Debug-Clang + arch: amd64_x86 + - build_type: arm64-Debug + arch: amd64_arm64 + - build_type: x86-Debug-Clang + arch: amd64_x86 + - build_type: x86-Release-Clang + arch: amd64_x86 + - build_type: arm64-Debug-Clang + arch: amd64_arm64 + - build_type: arm64-Release-Clang + arch: amd64_arm64 + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Clone test repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: walbourn/directxmathtest + path: Tests + ref: main + + - name: 'Install Ninja' + run: choco install ninja + + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 + with: + arch: ${{ matrix.arch }} + + - name: 'Configure CMake' + working-directory: ${{ github.workspace }} + run: cmake --preset=${{ matrix.build_type }} -DBUILD_XDSP=ON + + - name: 'Build' + working-directory: ${{ github.workspace }} + run: cmake --build out/build/${{ matrix.build_type }} + + build2026: + runs-on: windows-2025-vs2026 + + strategy: + fail-fast: false + + matrix: + build_type: [x64-Debug-Clang, x64-Release-Clang] + arch: [amd64] + include: + - build_type: x86-Debug-Clang + arch: amd64_x86 + - build_type: arm64-Debug + arch: amd64_arm64 + - build_type: x86-Debug-Clang + arch: amd64_x86 + - build_type: x86-Release-Clang + arch: amd64_x86 + - build_type: arm64-Debug-Clang + arch: amd64_arm64 + - build_type: arm64-Release-Clang + arch: amd64_arm64 + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Clone test repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: walbourn/directxmathtest + path: Tests + ref: main + + - name: 'Install Ninja' + run: choco install ninja + + - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 + with: + arch: ${{ matrix.arch }} + + - name: 'Configure CMake' + working-directory: ${{ github.workspace }} + run: cmake --preset=${{ matrix.build_type }} -DBUILD_XDSP=ON + + - name: 'Build' + working-directory: ${{ github.workspace }} + run: cmake --build out/build/${{ matrix.build_type }} From 54dd5312a4da287ca58451fedbc13103f076915a Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Fri, 13 Feb 2026 10:31:21 -0800 Subject: [PATCH 2/3] Fix pipeline --- .github/workflows/clangcl.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/clangcl.yml b/.github/workflows/clangcl.yml index 9105616..aa191ca 100644 --- a/.github/workflows/clangcl.yml +++ b/.github/workflows/clangcl.yml @@ -65,11 +65,11 @@ jobs: - name: 'Configure CMake' working-directory: ${{ github.workspace }} - run: cmake --preset=${{ matrix.build_type }} + run: cmake --preset=${{ matrix.build_type }} -DBUILD_TESTING=ON - name: 'Build' working-directory: ${{ github.workspace }} - run: cmake --build out/build/${{ matrix.build_type }} -DBUILD_TESTING=ON + run: cmake --build out/build/${{ matrix.build_type }} - if: (matrix.build_type == 'x64-Release-Clang') || (matrix.build_type == 'x86-Release-Clang') timeout-minutes: 10 @@ -115,11 +115,11 @@ jobs: - name: 'Configure CMake' working-directory: ${{ github.workspace }} - run: cmake --preset=${{ matrix.build_type }} + run: cmake --preset=${{ matrix.build_type }} -DBUILD_TESTING=ON - name: 'Build' working-directory: ${{ github.workspace }} - run: cmake --build out/build/${{ matrix.build_type }} -DBUILD_TESTING=ON + run: cmake --build out/build/${{ matrix.build_type }} - if: (matrix.build_type == 'x64-Release-Clang') || (matrix.build_type == 'x86-Release-Clang') timeout-minutes: 10 From b9b1c92c49ecf010b21ce3a8bab7d67773322ece Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Fri, 13 Feb 2026 10:36:31 -0800 Subject: [PATCH 3/3] Fix lint --- .github/workflows/xdsp.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/xdsp.yml b/.github/workflows/xdsp.yml index 811dfc3..62d38af 100644 --- a/.github/workflows/xdsp.yml +++ b/.github/workflows/xdsp.yml @@ -127,7 +127,6 @@ jobs: - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 with: arch: ${{ matrix.arch }} - toolset: ${{ matrix.toolver }} - name: 'Configure CMake' working-directory: ${{ github.workspace }}