Skip to content

Commit 713f843

Browse files
committed
Cover more than one version of mingw
1 parent 8e2161f commit 713f843

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/mingw.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,34 @@ jobs:
5959
- name: 'Build'
6060
working-directory: ${{ github.workspace }}
6161
run: cmake --build out/build/${{ matrix.build_type }}
62+
63+
buildNew:
64+
runs-on: windows-2025
65+
timeout-minutes: 20
66+
67+
strategy:
68+
fail-fast: false
69+
70+
matrix:
71+
build_type: [x64-Debug-MinGW, x64-Release-MinGW]
72+
73+
steps:
74+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
75+
76+
- name: Clone test repository
77+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
78+
with:
79+
repository: walbourn/directxmathtest
80+
path: Tests
81+
ref: main
82+
83+
- name: 'Install Ninja'
84+
run: choco install ninja
85+
86+
- name: 'Configure CMake'
87+
working-directory: ${{ github.workspace }}
88+
run: cmake --preset=${{ matrix.build_type }} -DBUILD_TESTING=ON
89+
90+
- name: 'Build'
91+
working-directory: ${{ github.workspace }}
92+
run: cmake --build out/build/${{ matrix.build_type }}

0 commit comments

Comments
 (0)