diff --git a/.github/workflows/windows-vcpkg.yml b/.github/workflows/windows-vcpkg.yml index ee65a173c..a836b7a33 100644 --- a/.github/workflows/windows-vcpkg.yml +++ b/.github/workflows/windows-vcpkg.yml @@ -51,7 +51,7 @@ jobs: matrix: os: [ windows-latest ] triplet: [ x64-windows ] - xprs: [ XPRESS-OFF ] + xprs: [ XPRESS-ON, XPRESS-OFF ] env: XPRESSDIR: ${{ github.workspace }}\xpress XPRESS: ${{ github.workspace }}\xpress\bin @@ -179,6 +179,14 @@ jobs: run: | cmake --build _build --config Release -j2 --target install + - name: Running unit tests + shell: cmd + run: | + set PATH=%PATH%;C:\Program Files\Microsoft MPI\Bin\ + set PATH=%PATH%;${{ env.XPRESS }} + cd _build + ctest -C Release --output-on-failure -L "medium|unit|benders|lpnamer" + - name: Create installer .zip shell: bash run: |