From 85507fc73d15345081a0b0bc5c83c90a1ae8d428 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 21 Nov 2019 15:41:37 -0500 Subject: Fixup Windows CI matrix * Add MSVC target * Add MSYS target --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be6a633..9723294 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest] - + steps: - uses: actions/checkout@v1 - name: configure @@ -23,15 +23,20 @@ jobs: run: sudo make install windows: - name: "${{ matrix.os }}" + name: "${{ matrix.os }}: ${{ matrix.target }}" runs-on: "${{ matrix.os }}" strategy: matrix: os: [windows-latest] + target: ["Visual Studio 16 2019", "MSYS Makefiles"] + env: + MTARGET: "${{ matrix.target }}" + steps: - uses: actions/checkout@v1 - name: configure - run: cmake . + run: cmake -G "${env:MTARGET}" . + shell: pwsh - name: make run: cmake --build . - name: test -- cgit