diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index 660c930..ba5bab1 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -8,20 +8,15 @@ on: [push, pull_request] jobs: build: - runs-on: windows-2022 - # strategy: - # fail-fast: false - # matrix: - # os: - # - ubuntu-22.04 - # #- ubuntu-20.04 - # - - # #- windows-2019 - # #- macos-12 - # #- macos-11 - # build_type: - # - Debug - # - Release + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: + - windows-2022 + build_type: + - Debug + - Release env: MOSQUITTO_VERSION: 2.0.20 SLINT_VERSION: 1.5.1 @@ -66,12 +61,12 @@ jobs: Write-Output "SLINT_INSTALL_LOCATION=c:\slint" >> $env:GITHUB_ENV # Tests build only on Linux right now - # - name: Configure project - # run: > - # cmake -S . -B ./build -G Ninja - # -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} - # -DBUILD_TESTS=${{ matrix.os == 'Linux' && matrix.build_type == 'Debug'}} - # -DCMAKE_PREFIX_PATH=${{ env.SLINT_INSTALL_LOCATION }} + - name: Configure project + run: > + cmake -S . -B ./build -G Ninja + -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} + -DBUILD_TESTS=${{ matrix.os == 'Linux' && matrix.build_type == 'Debug'}} + -DCMAKE_PREFIX_PATH=${{ env.SLINT_INSTALL_LOCATION }} - name: Build Project run: cmake --build ./build