Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Dec 4, 2023
1 parent 017f172 commit a07b186
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,22 @@ jobs:

- if: matrix.os == 'windows-latest'
name: Install Windows dependencies
run: choco install winflexbison
run: |
choco install winflexbison -y --force
- name: Run tests
- if: matrix.os == 'windows-latest'
name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.3.1

- if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
name: Run *nix tests
run: script/cibuild

- if: matrix.os == 'windows-latest'
name: Run Windows tests
run: |
mkdir build
cmake . -Bbuild -G "Visual Studio 17 2022"
msbuild /p:Configuration=Release build/mtex2MML.sln
cd build
ctest -V

0 comments on commit a07b186

Please sign in to comment.