diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4faa52..af7aeac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,8 @@ jobs: - Debug - Release env: - SLINT_VERSION: 1.5.1 + MOSQUITTO_VERSION: 2.0.20 + SLINT_VERSION: 1.7.0 steps: - name: Checkout sources @@ -45,6 +46,13 @@ jobs: libxkbcommon-dev libxkbcommon-x11-dev libxcb-xkb-dev xvfb \ qtbase5-dev + - name: Download Mosquitto (Windows) + if: runner.os == 'Windows' + run: | + Invoke-WebRequest -Uri "https://mosquitto.org/files/binary/win64/mosquitto-$env:MOSQUITTO_VERSION-install-windows-x64.exe" -OutFile "mosquitto-installer.exe" + Start-Process -FilePath .\mosquitto-installer.exe -ArgumentList '/S' -NoNewWindow -Wait + shell: pwsh + - name: Download Slint (Linux) if: runner.os == 'Linux' run: | @@ -57,8 +65,8 @@ jobs: if: runner.os == 'Windows' run: | curl --no-progress-meter --location --remote-name ` - https://github.com/slint-ui/slint/releases/download/v$env:SLINT_VERSION/Slint-cpp-$env:SLINT_VERSION-win64.exe - & .\Slint-cpp-$env:SLINT_VERSION-win64.exe /S /D=c:\slint + https://github.com/slint-ui/slint/releases/download/v$env:SLINT_VERSION/Slint-cpp-$env:SLINT_VERSION-win64-MSVC.exe + & .\Slint-cpp-$env:SLINT_VERSION-win64-MSVC.exe /S /D=c:\slint Write-Output "SLINT_INSTALL_LOCATION=c:\slint" >> $env:GITHUB_ENV # Tests build only on Linux right now