aboutsummaryrefslogtreecommitdiff
path: root/contrib/DirectX-Headers-1.618.2/.github/workflows/wsl.yml
diff options
context:
space:
mode:
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.yml42
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
4name: 'CMake (WSL)'
5
6on:
7 push:
8 branches: [ "main" ]
9 pull_request:
10 branches: [ "main" ]
11 paths-ignore:
12 - '*.md'
13 - LICENSE
14
15jobs:
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 }}