From aa9dac7bfd04ea4c5141a249ae0f8629f859bb62 Mon Sep 17 00:00:00 2001 From: Aliaksandr Adziareika <8034372+alexadereyko@users.noreply.github.com> Date: Wed, 27 May 2026 09:48:40 +0200 Subject: [PATCH 1/3] Fix runner label windows-2022 --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3726a6d..f140a48f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,13 +19,13 @@ jobs: - os: ubuntu-latest generator: Ninja build_type: Debug - - os: windows-latest + - os: windows-2022 generator: "Visual Studio 17 2022" build_type: Debug - os: ubuntu-latest generator: Ninja build_type: Release - - os: windows-latest + - os: windows-2022 generator: "Visual Studio 17 2022" build_type: Release @@ -69,13 +69,13 @@ jobs: - os: ubuntu-latest generator: Ninja build_type: Debug - - os: windows-latest + - os: windows-2022 generator: "Visual Studio 17 2022" build_type: Debug - os: ubuntu-latest generator: Ninja build_type: Release - - os: windows-latest + - os: windows-2022 generator: "Visual Studio 17 2022" build_type: Release @@ -122,7 +122,7 @@ jobs: cmake --install build/output --config "${{ matrix.build_type }}" - name: Add DLL path (Windows only) - if: matrix.os == 'windows-latest' + if: matrix.os == 'windows-2022' run: echo "${{ env.INSTALL_PREFIX }}/lib" >> $env:GITHUB_PATH - name: Configure project with CMake From 6c4f33c3b0c43c99deef7cf996b51e13f6324ae9 Mon Sep 17 00:00:00 2001 From: Aliaksandr Adziareika <8034372+alexadereyko@users.noreply.github.com> Date: Wed, 27 May 2026 11:03:56 +0200 Subject: [PATCH 2/3] Setup mosquitto via choco and run --- .github/workflows/ci-downstream.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-downstream.yml b/.github/workflows/ci-downstream.yml index a1032834..183496b4 100644 --- a/.github/workflows/ci-downstream.yml +++ b/.github/workflows/ci-downstream.yml @@ -24,7 +24,8 @@ jobs: }, { "match-jobs": ["windows-*"], - "winget-install": ["EclipseFoundation.Mosquitto"] + "choco-install": ["mosquitto"], + "run": "Start-Service mosquitto" }, { "match-jobs": ["macos-*"], From 04880549408bf0bf551a97912c19d4463df5685e Mon Sep 17 00:00:00 2001 From: Aliaksandr Adziareika <8034372+alexadereyko@users.noreply.github.com> Date: Wed, 27 May 2026 11:17:46 +0200 Subject: [PATCH 3/3] Download mosquitto directly --- .github/workflows/ci-downstream.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci-downstream.yml b/.github/workflows/ci-downstream.yml index 183496b4..a626205c 100644 --- a/.github/workflows/ci-downstream.yml +++ b/.github/workflows/ci-downstream.yml @@ -24,8 +24,7 @@ jobs: }, { "match-jobs": ["windows-*"], - "choco-install": ["mosquitto"], - "run": "Start-Service mosquitto" + "run": "$ErrorActionPreference='Stop'; Invoke-WebRequest -Uri 'https://mosquitto.org/files/binary/win64/mosquitto-2.0.18-install-windows-x64.exe' -OutFile mosq.exe; Start-Process -FilePath ./mosq.exe -ArgumentList '/S' -Wait; Start-Service mosquitto" }, { "match-jobs": ["macos-*"],