aboutsummaryrefslogtreecommitdiff
path: root/contrib/DirectX-Headers-1.618.2/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/DirectX-Headers-1.618.2/.github/workflows')
-rw-r--r--contrib/DirectX-Headers-1.618.2/.github/workflows/codeql.yml57
-rw-r--r--contrib/DirectX-Headers-1.618.2/.github/workflows/main.yml95
-rw-r--r--contrib/DirectX-Headers-1.618.2/.github/workflows/msvc.yml53
-rw-r--r--contrib/DirectX-Headers-1.618.2/.github/workflows/uwp.yml63
-rw-r--r--contrib/DirectX-Headers-1.618.2/.github/workflows/wsl.yml42
5 files changed, 310 insertions, 0 deletions
diff --git a/contrib/DirectX-Headers-1.618.2/.github/workflows/codeql.yml b/contrib/DirectX-Headers-1.618.2/.github/workflows/codeql.yml
new file mode 100644
index 0000000..de2378b
--- /dev/null
+++ b/contrib/DirectX-Headers-1.618.2/.github/workflows/codeql.yml
@@ -0,0 +1,57 @@
1# Copyright (c) Microsoft Corporation.
2# Licensed under the MIT License.
3
4name: "CodeQL"
5
6on:
7 push:
8 branches: [ "main" ]
9 pull_request:
10 branches: [ "main" ]
11 paths-ignore:
12 - '*.md'
13 - LICENSE
14 schedule:
15 - cron: '15 2 * * 4'
16
17permissions:
18 contents: read
19
20jobs:
21 analyze:
22 name: Analyze (C/C++)
23 runs-on: windows-latest
24 timeout-minutes: 360
25 permissions:
26 actions: read # for github/codeql-action/init to get workflow details
27 contents: read # for actions/checkout to fetch code
28 security-events: write # for github/codeql-action/autobuild to send a status report
29 packages: read
30
31 steps:
32 - name: Checkout repository
33 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
34
35 - name: 'Install Ninja'
36 run: choco install ninja
37
38 - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
39
40 - name: Initialize CodeQL
41 uses: github/codeql-action/init@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v3.29.5
42 with:
43 languages: c-cpp
44 build-mode: manual
45
46 - name: 'Configure CMake'
47 working-directory: ${{ github.workspace }}
48 run: cmake --preset=x64-Debug
49
50 - name: 'Build'
51 working-directory: ${{ github.workspace }}
52 run: cmake --build out\build\x64-Debug
53
54 - name: Perform CodeQL Analysis
55 uses: github/codeql-action/analyze@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v3.29.5
56 with:
57 category: "/language:c-cpp"
diff --git a/contrib/DirectX-Headers-1.618.2/.github/workflows/main.yml b/contrib/DirectX-Headers-1.618.2/.github/workflows/main.yml
new file mode 100644
index 0000000..ca34a39
--- /dev/null
+++ b/contrib/DirectX-Headers-1.618.2/.github/workflows/main.yml
@@ -0,0 +1,95 @@
1# Copyright (c) Microsoft Corporation.
2# Licensed under the MIT License.
3
4name: 'CMake (Windows)'
5
6on:
7 push:
8 branches: [ "main" ]
9 pull_request:
10 branches: [ "main" ]
11 paths-ignore:
12 - '*.md'
13 - LICENSE
14
15permissions:
16 contents: read
17
18jobs:
19 build:
20 runs-on: ${{ matrix.os }}
21
22 strategy:
23 fail-fast: false
24
25 matrix:
26 os: [windows-2019, windows-2022]
27 build_type: [x64-Debug, x64-Release]
28 arch: [amd64]
29 include:
30 - os: windows-2019
31 build_type: x86-Debug
32 arch: amd64_x86
33 - os: windows-2019
34 build_type: x86-Release
35 arch: amd64_x86
36 - os: windows-2022
37 build_type: x86-Debug
38 arch: amd64_x86
39 - os: windows-2022
40 build_type: x86-Release
41 arch: amd64_x86
42 - os: windows-2022
43 build_type: arm64-Debug
44 arch: amd64_arm64
45 - os: windows-2022
46 build_type: arm64-Release
47 arch: amd64_arm64
48 - os: windows-2022
49 build_type: arm64ec-Debug
50 arch: amd64_arm64
51 - os: windows-2022
52 build_type: arm64ec-Release
53 arch: amd64_arm64
54 - os: windows-2022
55 build_type: x64-Debug-Clang
56 arch: amd64
57 - os: windows-2022
58 build_type: x64-Release-Clang
59 arch: amd64
60 - os: windows-2022
61 build_type: x86-Debug-Clang
62 arch: amd64_x86
63 - os: windows-2022
64 build_type: x86-Release-Clang
65 arch: amd64_x86
66 - os: windows-2022
67 build_type: arm64-Debug-Clang
68 arch: amd64_arm64
69 - os: windows-2022
70 build_type: arm64-Release-Clang
71 arch: amd64_arm64
72 - os: windows-2022
73 build_type: x64-Debug-MinGW
74 arch: amd64
75 - os: windows-2022
76 build_type: x64-Release-MinGW
77 arch: amd64
78
79 steps:
80 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
81
82 - name: 'Install Ninja'
83 run: choco install ninja
84
85 - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
86 with:
87 arch: ${{ matrix.arch }}
88
89 - name: 'Configure CMake'
90 working-directory: ${{ github.workspace }}
91 run: cmake --preset=${{ matrix.build_type }}
92
93 - name: 'Build'
94 working-directory: ${{ github.workspace }}
95 run: cmake --build out\build\${{ matrix.build_type }}
diff --git a/contrib/DirectX-Headers-1.618.2/.github/workflows/msvc.yml b/contrib/DirectX-Headers-1.618.2/.github/workflows/msvc.yml
new file mode 100644
index 0000000..5b068f2
--- /dev/null
+++ b/contrib/DirectX-Headers-1.618.2/.github/workflows/msvc.yml
@@ -0,0 +1,53 @@
1# Copyright (c) Microsoft Corporation.
2# Licensed under the MIT License.
3
4name: Microsoft C++ Code Analysis
5
6on:
7 push:
8 branches: [ "main" ]
9 pull_request:
10 branches: [ "main" ]
11 paths-ignore:
12 - '*.md'
13 - LICENSE
14 schedule:
15 - cron: '24 13 * * 4'
16
17permissions:
18 contents: read
19
20jobs:
21 analyze:
22 permissions:
23 contents: read
24 security-events: write
25 actions: read
26 name: Analyze
27 runs-on: windows-latest
28
29 steps:
30 - name: Checkout repository
31 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
32
33 - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
34 with:
35 arch: amd64
36
37 - name: Configure CMake
38 working-directory: ${{ github.workspace }}
39 run: cmake -B out
40
41 - name: Initialize MSVC Code Analysis
42 uses: microsoft/msvc-code-analysis-action@24c285ab36952c9e9182f4b78dfafbac38a7e5ee # v0.1.1
43 id: run-analysis
44 with:
45 cmakeBuildDirectory: ./out
46 buildConfiguration: Debug
47 ruleset: NativeRecommendedRules.ruleset
48
49 # Upload SARIF file to GitHub Code Scanning Alerts
50 - name: Upload SARIF to GitHub
51 uses: github/codeql-action/upload-sarif@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v3.29.5
52 with:
53 sarif_file: ${{ steps.run-analysis.outputs.sarif }}
diff --git a/contrib/DirectX-Headers-1.618.2/.github/workflows/uwp.yml b/contrib/DirectX-Headers-1.618.2/.github/workflows/uwp.yml
new file mode 100644
index 0000000..d3f47a2
--- /dev/null
+++ b/contrib/DirectX-Headers-1.618.2/.github/workflows/uwp.yml
@@ -0,0 +1,63 @@
1# Copyright (c) Microsoft Corporation.
2# Licensed under the MIT License.
3
4name: 'CMake (UWP)'
5
6on:
7 push:
8 branches: [ "main" ]
9 pull_request:
10 branches: [ "main" ]
11 paths-ignore:
12 - '*.md'
13 - LICENSE
14
15permissions:
16 contents: read
17
18jobs:
19 build:
20 runs-on: windows-2022
21
22 strategy:
23 fail-fast: false
24
25 matrix:
26 build_type: [x64-Debug-UWP, x64-Release-UWP, x64-Debug-UWP-Clang, x64-Release-UWP-Clang]
27 arch: [amd64]
28 include:
29 - build_type: x86-Debug-UWP
30 arch: amd64_x86
31 - build_type: x86-Release-UWP
32 arch: amd64_x86
33 - build_type: x86-Debug-UWP-Clang
34 arch: amd64_x86
35 - build_type: x86-Release-UWP-Clang
36 arch: amd64_x86
37 - build_type: arm64-Debug-UWP
38 arch: amd64_arm64
39 - build_type: arm64-Release-UWP
40 arch: amd64_arm64
41 - build_type: arm64-Debug-UWP-Clang
42 arch: amd64_arm64
43 - build_type: arm64-Release-UWP-Clang
44 arch: amd64_arm64
45
46 steps:
47 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
48
49 - name: 'Install Ninja'
50 run: choco install ninja
51
52 - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
53 with:
54 arch: ${{ matrix.arch }}
55 uwp: true
56
57 - name: 'Configure CMake'
58 working-directory: ${{ github.workspace }}
59 run: cmake --preset=${{ matrix.build_type }}
60
61 - name: 'Build'
62 working-directory: ${{ github.workspace }}
63 run: cmake --build out\build\${{ matrix.build_type }}
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 }}