diff options
| author | 3gg <3gg@shellblade.net> | 2025-12-02 16:39:36 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-12-02 16:39:36 -0800 |
| commit | 6c8ae19be66cee247980a48e736a4e05d14de179 (patch) | |
| tree | d860767907bf0cbe17ec66422e11bea700cf56d9 /contrib/DirectX-Headers-1.618.2/.github/workflows/wsl.yml | |
| parent | 8f594c8ebd11f0e5f8a0c6369c3fe7383d250cbe (diff) | |
Diffstat (limited to 'contrib/DirectX-Headers-1.618.2/.github/workflows/wsl.yml')
| -rw-r--r-- | contrib/DirectX-Headers-1.618.2/.github/workflows/wsl.yml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/contrib/DirectX-Headers-1.618.2/.github/workflows/wsl.yml b/contrib/DirectX-Headers-1.618.2/.github/workflows/wsl.yml new file mode 100644 index 0000000..2aaf992 --- /dev/null +++ b/contrib/DirectX-Headers-1.618.2/.github/workflows/wsl.yml | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | # Copyright (c) Microsoft Corporation. | ||
| 2 | # Licensed under the MIT License. | ||
| 3 | |||
| 4 | name: 'CMake (WSL)' | ||
| 5 | |||
| 6 | on: | ||
| 7 | push: | ||
| 8 | branches: [ "main" ] | ||
| 9 | pull_request: | ||
| 10 | branches: [ "main" ] | ||
| 11 | paths-ignore: | ||
| 12 | - '*.md' | ||
| 13 | - LICENSE | ||
| 14 | |||
| 15 | jobs: | ||
| 16 | build: | ||
| 17 | runs-on: ubuntu-latest | ||
| 18 | |||
| 19 | strategy: | ||
| 20 | fail-fast: false | ||
| 21 | |||
| 22 | matrix: | ||
| 23 | build_type: [x64-Debug-Linux, x64-Release-Linux] | ||
| 24 | gcc: [12, 13, 14] | ||
| 25 | |||
| 26 | steps: | ||
| 27 | - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | ||
| 28 | |||
| 29 | - uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6 | ||
| 30 | |||
| 31 | - name: 'Configure CMake' | ||
| 32 | working-directory: ${{ github.workspace }} | ||
| 33 | run: > | ||
| 34 | cmake --preset=${{ matrix.build_type }} | ||
| 35 | |||
| 36 | env: | ||
| 37 | CC: gcc-${{ matrix.gcc }} | ||
| 38 | CXX: g++-${{ matrix.gcc }} | ||
| 39 | |||
| 40 | - name: 'Build' | ||
| 41 | working-directory: ${{ github.workspace }} | ||
| 42 | run: cmake --build out/build/${{ matrix.build_type }} | ||
