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/main.yml | |
| parent | 8f594c8ebd11f0e5f8a0c6369c3fe7383d250cbe (diff) | |
Diffstat (limited to 'contrib/DirectX-Headers-1.618.2/.github/workflows/main.yml')
| -rw-r--r-- | contrib/DirectX-Headers-1.618.2/.github/workflows/main.yml | 95 |
1 files changed, 95 insertions, 0 deletions
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 | |||
| 4 | name: 'CMake (Windows)' | ||
| 5 | |||
| 6 | on: | ||
| 7 | push: | ||
| 8 | branches: [ "main" ] | ||
| 9 | pull_request: | ||
| 10 | branches: [ "main" ] | ||
| 11 | paths-ignore: | ||
| 12 | - '*.md' | ||
| 13 | - LICENSE | ||
| 14 | |||
| 15 | permissions: | ||
| 16 | contents: read | ||
| 17 | |||
| 18 | jobs: | ||
| 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 }} | ||
