Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/msvc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: MSVC CI

on: [push, pull_request]

jobs:
build:

runs-on: windows-2025

steps:

- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: x86
toolset: 14.0

- name: build d3d11
working-directory: demo/d3d11
run: ./build.bat
- name: build d3d12
working-directory: demo/d3d12
run: ./build.bat
- name: build d3d9
working-directory: demo/d3d9
run: ./build.bat
- name: build gdi
working-directory: demo/gdi
run: ./build.bat
- name: build gdi_native_nuklear
working-directory: demo/gdi_native_nuklear
run: ./build.bat
- name: build gdip
working-directory: demo/gdip
run: ./build.bat

2 changes: 1 addition & 1 deletion demo/gdi/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ int main(void)
if (needs_refresh == 0) {
if (GetMessageW(&msg, NULL, 0, 0) <= 0) {
running = 0;
} else if (msg.message == WM_SYSKEYDOWN && msg.wParam == 'Q' && GetKeyState(VK_CONTROL) & (1 << 15))
} else if (msg.message == WM_SYSKEYDOWN && msg.wParam == 'Q' && GetKeyState(VK_CONTROL) & (1 << 15)) {
running = 0;
} else {
TranslateMessage(&msg);
Expand Down
Loading