diff --git a/.github/workflows/arm64.yml b/.github/workflows/arm64.yml index af729dd2..79fc4fff 100644 --- a/.github/workflows/arm64.yml +++ b/.github/workflows/arm64.yml @@ -39,10 +39,10 @@ jobs: build_type: [arm64-Debug, arm64-Release] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests @@ -73,10 +73,10 @@ jobs: build_type: [arm-Debug, arm-Release] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/arm64test.yml b/.github/workflows/arm64test.yml index c308c883..850c1b4c 100644 --- a/.github/workflows/arm64test.yml +++ b/.github/workflows/arm64test.yml @@ -40,10 +40,10 @@ jobs: build_type: [arm64-Release] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/asan.yml b/.github/workflows/asan.yml index 9989c9e8..a6408fe2 100644 --- a/.github/workflows/asan.yml +++ b/.github/workflows/asan.yml @@ -50,10 +50,10 @@ jobs: arch: [amd64] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/clangcl.yml b/.github/workflows/clangcl.yml index 5651fc11..fc4f803a 100644 --- a/.github/workflows/clangcl.yml +++ b/.github/workflows/clangcl.yml @@ -1,130 +1,130 @@ -# 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/**' - - '.github/*.md' - - '.nuget/*' - - build/*.ps1 - pull_request: - branches: "main" - paths-ignore: - - '*.md' - - LICENSE - - '.azuredevops/**' - - '.github/*.md' - - '.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 }} -DBUILD_TESTING=ON - - - name: 'Build' - working-directory: ${{ github.workspace }} - run: cmake --build out/build/${{ matrix.build_type }} - - - 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 }} -DBUILD_TESTING=ON - - - name: 'Build' - working-directory: ${{ github.workspace }} - run: cmake --build out/build/${{ matrix.build_type }} - - - 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 +# 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/**' + - '.github/*.md' + - '.nuget/*' + - build/*.ps1 + pull_request: + branches: "main" + paths-ignore: + - '*.md' + - LICENSE + - '.azuredevops/**' + - '.github/*.md' + - '.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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + + - name: Clone test repository + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + 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-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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + + - name: Clone test repository + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + 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-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/codeql.yml b/.github/workflows/codeql.yml index a17e5840..77d7af0a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -43,10 +43,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/cxx.yml b/.github/workflows/cxx.yml index f88a59b2..bf6e98ce 100644 --- a/.github/workflows/cxx.yml +++ b/.github/workflows/cxx.yml @@ -61,10 +61,10 @@ jobs: arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 993ed535..6fc091e3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: fetch-depth: 0 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 977f691f..756460dd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,10 +63,10 @@ jobs: arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests @@ -114,10 +114,10 @@ jobs: arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 23284dcf..5ca7afd0 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -44,10 +44,10 @@ jobs: platform: ARM64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests @@ -88,10 +88,10 @@ jobs: build_type: [Debug, Release, 'NI Debug', 'NI Release'] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/msbuildex.yml b/.github/workflows/msbuildex.yml index f34c1516..15fabc5b 100644 --- a/.github/workflows/msbuildex.yml +++ b/.github/workflows/msbuildex.yml @@ -99,10 +99,10 @@ jobs: build_type: 'x87 Release' steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/msvc.yml b/.github/workflows/msvc.yml index 9b612ce7..040ae672 100644 --- a/.github/workflows/msvc.yml +++ b/.github/workflows/msvc.yml @@ -42,10 +42,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/shmath.yml b/.github/workflows/shmath.yml index 0f602d7d..842bcf3e 100644 --- a/.github/workflows/shmath.yml +++ b/.github/workflows/shmath.yml @@ -63,10 +63,10 @@ jobs: arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests @@ -116,10 +116,10 @@ jobs: arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/shmathclang.yml b/.github/workflows/shmathclang.yml index bdbc0f67..fd9872a7 100644 --- a/.github/workflows/shmathclang.yml +++ b/.github/workflows/shmathclang.yml @@ -1,126 +1,126 @@ -# 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/**' - - '.github/*.md' - - '.nuget/*' - - build/*.ps1 - pull_request: - branches: "main" - paths-ignore: - - '*.md' - - LICENSE - - '.azuredevops/**' - - '.github/*.md' - - '.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 }} +# 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/**' + - '.github/*.md' + - '.nuget/*' + - build/*.ps1 + pull_request: + branches: "main" + paths-ignore: + - '*.md' + - LICENSE + - '.azuredevops/**' + - '.github/*.md' + - '.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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + + - name: Clone test repository + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + 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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + + - name: Clone test repository + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + 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 88f2d1e4..461d2780 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -67,10 +67,10 @@ jobs: arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests @@ -126,10 +126,10 @@ jobs: arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/wsl.yml b/.github/workflows/wsl.yml index 1e9da14c..6463dd4b 100644 --- a/.github/workflows/wsl.yml +++ b/.github/workflows/wsl.yml @@ -41,10 +41,10 @@ jobs: # x64-Debug-NI-Linux, x64-Release-NI-Linux trigger issue with GCC steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests @@ -74,10 +74,10 @@ jobs: clang: [16, 17, 18] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/wslcxx.yml b/.github/workflows/wslcxx.yml index dedbec38..1a08da09 100644 --- a/.github/workflows/wslcxx.yml +++ b/.github/workflows/wslcxx.yml @@ -41,10 +41,10 @@ jobs: # x64-Debug-NI-Linux, x64-Release-NI-Linux trigger issue with GCC steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests @@ -120,10 +120,10 @@ jobs: clang: [16, 17, 18] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/xdsp.yml b/.github/workflows/xdsp.yml index b78e9783..563763fc 100644 --- a/.github/workflows/xdsp.yml +++ b/.github/workflows/xdsp.yml @@ -63,10 +63,10 @@ jobs: arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests @@ -114,10 +114,10 @@ jobs: arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Clone test repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: repository: walbourn/directxmathtest path: Tests diff --git a/.github/workflows/xdspclang.yml b/.github/workflows/xdspclang.yml index 02c857ab..145757ef 100644 --- a/.github/workflows/xdspclang.yml +++ b/.github/workflows/xdspclang.yml @@ -1,126 +1,126 @@ -# 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/**' - - '.github/*.md' - - '.nuget/*' - - build/*.ps1 - pull_request: - branches: "main" - paths-ignore: - - '*.md' - - LICENSE - - '.azuredevops/**' - - '.github/*.md' - - '.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 }} +# 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/**' + - '.github/*.md' + - '.nuget/*' + - build/*.ps1 + pull_request: + branches: "main" + paths-ignore: + - '*.md' + - LICENSE + - '.azuredevops/**' + - '.github/*.md' + - '.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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + + - name: Clone test repository + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + 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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + + - name: Clone test repository + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + 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 }}