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 7fa23aa
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,25 @@ jobs:
name: Install *nix dependencies
run: script/bootstrap

- if: matrix.os == 'windows-latest'
name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.3.1

- 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 == 'ubuntu-latest' || matrix.os == 'macos-latest'
name: Run *nix tests
run: script/cibuild

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

0 comments on commit 7fa23aa

Please sign in to comment.