Skip to content

Commit

Permalink
Expand workflow to also build for Windows. (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mity authored Dec 4, 2023
1 parent 6422f8c commit c0cb66d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,27 @@ jobs:
run: make VERBOSE=1
- name: Test
run: make VERBOSE=1 ARGS=--verbose test

windows-32:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: microsoft/[email protected]
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 17 2022" -A Win32 .
- name: Build
run: msbuild.exe hsluv-c.sln /p:Configuration=Release /p:Platform=Win32
- name: Test
run: tests\Release\test_hsluv.exe

windows-64:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: microsoft/[email protected]
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 17 2022" -A x64 .
- name: Build
run: msbuild.exe hsluv-c.sln /p:Configuration=Release /p:Platform=x64
- name: Test
run: tests\Release\test_hsluv.exe

0 comments on commit c0cb66d

Please sign in to comment.