diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-20 12:03:34 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-20 12:03:34 -0400 |
commit | f7c8a341979107266cc67fb3770413df8c238099 (patch) | |
tree | 3b6bc4fe1e519e6518cbe23d92377112c4f3c698 | |
parent | 550087376299cebd234377304c96fdcd80e6831b (diff) | |
download | ohmycal-f7c8a341979107266cc67fb3770413df8c238099.tar.gz |
Windows CI
-rw-r--r-- | .github/workflows/cmake-multi-platform.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index cd1e4b7..f717526 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -29,11 +29,6 @@ jobs: - os: macos-latest c_compiler: gcc - defaults: - - if: runner.os == 'Windows' - run: - shell: msys2 {0} - steps: - uses: actions/checkout@v4 @@ -69,7 +64,13 @@ jobs: -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -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 }} + - name: Build + if: runner.os != 'Windows' run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} # TODO: Write ctests |