Skip to content

Commit 13f1c3e

Browse files
committed
Add SDL debug build to GitHub Actions
1 parent dd5710b commit 13f1c3e

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,27 @@ jobs:
8686
run: |
8787
ctest --test-dir build/x64-msvc-debug --output-on-failure --timeout 60
8888
89+
compile-sdl-msvc-x64-debug:
90+
name: Windows SDL MSVC x64 Debug
91+
runs-on: windows-latest
92+
steps:
93+
- name: Check out repository code
94+
uses: actions/checkout@v4
95+
- name: CMake Generate
96+
shell: cmd
97+
run: |
98+
call "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvarsall.bat" x64
99+
cmake --preset sdl-x64-msvc-debug -D3DMM_PACKAGE_WIX=OFF
100+
- name: CMake Build
101+
shell: cmd
102+
run: |
103+
call "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvarsall.bat" x64
104+
cmake --build build/sdl-x64-msvc-debug --target studio tests
105+
- name: Run tests
106+
shell: cmd
107+
run: |
108+
ctest --test-dir build/sdl-x64-msvc-debug --output-on-failure --timeout 60
109+
89110
compile-clang-x64-release:
90111
name: Windows Clang x64 Release
91112
runs-on: windows-latest

0 commit comments

Comments
 (0)