Skip to content

Expand workflow to also build for Windows. #6

Expand workflow to also build for Windows.

Expand workflow to also build for Windows. #6

Workflow file for this run

name: Build and Test
on:
- pull_request
- push
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles' .
- name: Build
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 github-test.sln /p:Configuration=Release /p:Platform=Win32
- name: Test
run: tests\Release\test_hsluv.exe
windows-64:

Check failure on line 31 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Build and Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 31, Col: 1): Unexpected value '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 github-test.sln /p:Configuration=Release /p:Platform=x64
- name: Test
run: tests\Release\test_hsluv.exe