Skip to content

Commit c0cb66d

Browse files
authored
Expand workflow to also build for Windows. (#9)
1 parent 6422f8c commit c0cb66d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/test.yml

+24
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,27 @@ jobs:
1515
run: make VERBOSE=1
1616
- name: Test
1717
run: make VERBOSE=1 ARGS=--verbose test
18+
19+
windows-32:
20+
runs-on: windows-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: microsoft/[email protected]
24+
- name: Configure
25+
run: cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 17 2022" -A Win32 .
26+
- name: Build
27+
run: msbuild.exe hsluv-c.sln /p:Configuration=Release /p:Platform=Win32
28+
- name: Test
29+
run: tests\Release\test_hsluv.exe
30+
31+
windows-64:
32+
runs-on: windows-latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
- uses: microsoft/[email protected]
36+
- name: Configure
37+
run: cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 17 2022" -A x64 .
38+
- name: Build
39+
run: msbuild.exe hsluv-c.sln /p:Configuration=Release /p:Platform=x64
40+
- name: Test
41+
run: tests\Release\test_hsluv.exe

0 commit comments

Comments
 (0)