diff --git a/.github/workflows/arm64.yml b/.github/workflows/arm64.yml index 2e2dc7e0..56ff0105 100644 --- a/.github/workflows/arm64.yml +++ b/.github/workflows/arm64.yml @@ -47,7 +47,7 @@ jobs: build_type: [arm64-Debug, arm64-Release, arm64-Debug-UWP, arm64-Release-UWP] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: 'Install Ninja' run: choco install ninja diff --git a/.github/workflows/arm64bvt.yml b/.github/workflows/arm64bvt.yml index 730e7308..8cf5ea6d 100644 --- a/.github/workflows/arm64bvt.yml +++ b/.github/workflows/arm64bvt.yml @@ -48,10 +48,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/directxmeshtest path: Tests diff --git a/.github/workflows/bvt.yml b/.github/workflows/bvt.yml index 448f58ca..e70fb941 100644 --- a/.github/workflows/bvt.yml +++ b/.github/workflows/bvt.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/directxmeshtest path: Tests diff --git a/.github/workflows/clangcl.yml b/.github/workflows/clangcl.yml index 0c95b971..b08164bb 100644 --- a/.github/workflows/clangcl.yml +++ b/.github/workflows/clangcl.yml @@ -1,146 +1,146 @@ -# Copyright (c) Microsoft Corporation. -# Licensed under the MIT License. -# -# https://go.microsoft.com/fwlink/?LinkID=324981 - -name: 'CMake (clang-cl)' - -on: - push: - branches: "main" - paths-ignore: - - '*.md' - - LICENSE - - '.azuredevops/**' - - '.github/*.md' - - '.nuget/*' - - build/*.cmd - - build/*.props - - build/*.ps1 - - build/*.targets - - build/*.xvd - pull_request: - branches: "main" - paths-ignore: - - '*.md' - - LICENSE - - '.azuredevops/**' - - '.github/*.md' - - '.nuget/*' - - build/*.cmd - - build/*.props - - build/*.ps1 - - build/*.targets - - build/*.xvd - -env: - DIRECTXMESH_MEDIA_PATH: ${{ github.workspace }}/Media - -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/directxmeshtest - 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 }} - - - name: 'Clean up' - working-directory: ${{ github.workspace }} - run: Remove-Item -Path out -Recurse -Force - - - name: 'Configure CMake (DLL)' - working-directory: ${{ github.workspace }} - run: cmake --preset=${{ matrix.build_type }} -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON - - - name: 'Build (DLL)' - 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-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: '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 }} - - - name: 'Clean up' - working-directory: ${{ github.workspace }} - run: Remove-Item -Path out -Recurse -Force - - - name: 'Configure CMake (DLL)' - working-directory: ${{ github.workspace }} - run: cmake --preset=${{ matrix.build_type }} -DBUILD_SHARED_LIBS=ON - - - name: 'Build (DLL)' - working-directory: ${{ github.workspace }} - run: cmake --build out\build\${{ matrix.build_type }} +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# +# https://go.microsoft.com/fwlink/?LinkID=324981 + +name: 'CMake (clang-cl)' + +on: + push: + branches: "main" + paths-ignore: + - '*.md' + - LICENSE + - '.azuredevops/**' + - '.github/*.md' + - '.nuget/*' + - build/*.cmd + - build/*.props + - build/*.ps1 + - build/*.targets + - build/*.xvd + pull_request: + branches: "main" + paths-ignore: + - '*.md' + - LICENSE + - '.azuredevops/**' + - '.github/*.md' + - '.nuget/*' + - build/*.cmd + - build/*.props + - build/*.ps1 + - build/*.targets + - build/*.xvd + +env: + DIRECTXMESH_MEDIA_PATH: ${{ github.workspace }}/Media + +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/directxmeshtest + 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 }} + + - name: 'Clean up' + working-directory: ${{ github.workspace }} + run: Remove-Item -Path out -Recurse -Force + + - name: 'Configure CMake (DLL)' + working-directory: ${{ github.workspace }} + run: cmake --preset=${{ matrix.build_type }} -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON + + - name: 'Build (DLL)' + 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-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: '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 }} + + - name: 'Clean up' + working-directory: ${{ github.workspace }} + run: Remove-Item -Path out -Recurse -Force + + - name: 'Configure CMake (DLL)' + working-directory: ${{ github.workspace }} + run: cmake --preset=${{ matrix.build_type }} -DBUILD_SHARED_LIBS=ON + + - name: 'Build (DLL)' + working-directory: ${{ github.workspace }} + run: cmake --build out\build\${{ matrix.build_type }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6df72deb..81effebf 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -51,7 +51,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: 'Install Ninja' run: choco install ninja diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9625d8f3..8186c78c 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 cffa7b07..61caf6a9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -80,7 +80,7 @@ jobs: arch: amd64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: 'Install Ninja' run: choco install ninja @@ -145,7 +145,7 @@ jobs: arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: 'Install Ninja' run: choco install ninja diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index ef593adf..cee2bec8 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -40,7 +40,7 @@ jobs: platform: [x86, x64, ARM64] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@30375c66a4eea26614e0d39710365f22f8b0af57 # v3.0.0 @@ -93,7 +93,7 @@ jobs: platform: [x86, x64, ARM64] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@30375c66a4eea26614e0d39710365f22f8b0af57 # v3.0.0 @@ -116,7 +116,7 @@ jobs: build_type: [Debug, Release] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@30375c66a4eea26614e0d39710365f22f8b0af57 # v3.0.0 diff --git a/.github/workflows/msvc.yml b/.github/workflows/msvc.yml index ebd728bf..8503ebf7 100644 --- a/.github/workflows/msvc.yml +++ b/.github/workflows/msvc.yml @@ -49,7 +49,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Configure CMake working-directory: ${{ github.workspace }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f30765cf..5eea6ecf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -78,10 +78,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/directxmeshtest path: Tests @@ -140,10 +140,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/directxmeshtest path: Tests diff --git a/.github/workflows/uwp.yml b/.github/workflows/uwp.yml index af240eed..668b5ff7 100644 --- a/.github/workflows/uwp.yml +++ b/.github/workflows/uwp.yml @@ -65,7 +65,7 @@ jobs: arch: amd64_arm64 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: 'Install Ninja' run: choco install ninja diff --git a/.github/workflows/vcpkg.yml b/.github/workflows/vcpkg.yml index db671f1e..cd70f1fc 100644 --- a/.github/workflows/vcpkg.yml +++ b/.github/workflows/vcpkg.yml @@ -84,7 +84,7 @@ jobs: shared: 'ON' steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: 'Install Ninja' run: choco install ninja diff --git a/.github/workflows/wsl.yml b/.github/workflows/wsl.yml index 9da137b4..e17d95f6 100644 --- a/.github/workflows/wsl.yml +++ b/.github/workflows/wsl.yml @@ -49,7 +49,7 @@ jobs: gcc: [12, 13, 14] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6 @@ -123,7 +123,7 @@ jobs: clang: [16, 17, 18] steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6