From 555865ce0a7d9e5c69c83bebaa1a5a4a3cd3c9ef Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 20 May 2024 12:05:57 -0400 Subject: Windows CI --- .github/workflows/cmake-multi-platform.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index f717526..827906a 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -44,8 +44,6 @@ jobs: sudo apt install -y libcurl4-openssl-dev libxml2-dev rsync - name: 'Install MSYS2 ${{ matrix.sys }} dependencies' - if: matrix.os == 'windows-latest' - shell: msys2 {0} uses: msys2/setup-msys2@v2 with: msystem: ${{matrix.c_win_sys}} @@ -56,6 +54,8 @@ jobs: toolchain:p cmake:p libxml2:p + shell: msys2 {0} + if: matrix.os == 'windows-latest' - name: Configure CMake run: > @@ -65,13 +65,13 @@ jobs: -S ${{ github.workspace }} - name: Build (Windows) - if: runner.os == 'Windows' shell: msys2 {0} run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} + if: runner.os == 'Windows' - name: Build - if: runner.os != 'Windows' run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} + if: runner.os != 'Windows' # TODO: Write ctests #- name: Test -- cgit