diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-20 12:45:47 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-20 12:45:47 -0400 |
commit | c4afb9fd0bb425c5b2747e7af11cea3a82499029 (patch) | |
tree | 135b81945f8742342ab61fba429c87e95cacefa2 | |
parent | ba18899115db281ebc6911e41095f95cac748502 (diff) | |
download | stasis-c4afb9fd0bb425c5b2747e7af11cea3a82499029.tar.gz |
Windows CI
-rw-r--r-- | .github/workflows/cmake-multi-platform.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index e855cea..12d1c55 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -40,12 +40,12 @@ jobs: run: | echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" - - name: Install Linux dependencies + - name: Install dependencies if: matrix.os == 'ubuntu-latest' run: > sudo apt install -y libcurl4-openssl-dev libxml2-dev rsync - - name: 'Install MSYS2 ${{ matrix.sys }} dependencies' + - name: 'Install dependencies (Windows)' uses: msys2/setup-msys2@v2 with: msystem: ${{matrix.c_win_sys}} @@ -67,6 +67,11 @@ jobs: -S "${{ github.workspace }}" if: runner.os == 'Windows' + - name: Build (Windows) + shell: msys2 {0} + run: cmake --build "${{ steps.strings.outputs.build-output-dir }}" --config ${{ matrix.build_type }} + if: runner.os == 'Windows' + - name: Configure CMake run: > cmake -B ${{ steps.strings.outputs.build-output-dir }} @@ -75,13 +80,8 @@ jobs: -S ${{ github.workspace }} if: runner.os != 'Windows' - - name: Build (Windows) - shell: msys2 {0} - run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} - if: runner.os == 'Windows' - - name: Build - run: cmake --build "${{ steps.strings.outputs.build-output-dir }}" --config ${{ matrix.build_type }} + run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} if: runner.os != 'Windows' # TODO: Write ctests |