From 3d185bf4c69010963713754e446bd46a8a22f022 Mon Sep 17 00:00:00 2001 From: Carlos Zoido Date: Thu, 18 Jun 2026 10:01:39 +0200 Subject: [PATCH 1/6] pin runner --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 267df92c..78a73519 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-2022] conan-version: [release, develop] runs-on: ${{ matrix.os }} steps: From a69a9b50a05f2af77b504d1557a3d830b34d0a1a Mon Sep 17 00:00:00 2001 From: Carlos Zoido Date: Thu, 18 Jun 2026 10:02:27 +0200 Subject: [PATCH 2/6] bump protobuf --- examples/libraries/protobuf/serialization/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/libraries/protobuf/serialization/requirements.txt b/examples/libraries/protobuf/serialization/requirements.txt index 563ca39e..daeb9340 100644 --- a/examples/libraries/protobuf/serialization/requirements.txt +++ b/examples/libraries/protobuf/serialization/requirements.txt @@ -1 +1 @@ -protobuf==4.23.1 +protobuf>=5.27.2 From 55412f026335bf0766327b3936adcb4e0e24f35d Mon Sep 17 00:00:00 2001 From: Carlos Zoido Date: Thu, 18 Jun 2026 10:06:34 +0200 Subject: [PATCH 3/6] run all examples on workflow change --- .github/run_ci_tests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/run_ci_tests.py b/.github/run_ci_tests.py index 26e3a5b7..b13fa39b 100644 --- a/.github/run_ci_tests.py +++ b/.github/run_ci_tests.py @@ -59,6 +59,10 @@ def find_affected_directories(base_ref) -> list: if file: print(file) + if any(".github/workflows/ci.yml" in f for f in changed_files): + print("\nCI workflow changed - running all examples") + return [] + affected_dirs = set() for file_path in changed_files: From ccfbd3c63a4eed3d076fcd47f3a6689b21470e1f Mon Sep 17 00:00:00 2001 From: Carlos Zoido Date: Thu, 18 Jun 2026 10:18:14 +0200 Subject: [PATCH 4/6] use 2025 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78a73519..33ac02be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-2022] + os: [ubuntu-latest, macos-latest, windows-2025] conan-version: [release, develop] runs-on: ${{ matrix.os }} steps: From 2594d00ed1987ae7e10c6d658939d8ddbb3428d1 Mon Sep 17 00:00:00 2001 From: Carlos Zoido Date: Thu, 18 Jun 2026 11:01:26 +0200 Subject: [PATCH 5/6] install java 17 --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33ac02be..124333ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-2025] + os: [ubuntu-latest, macos-latest, windows-2022] conan-version: [release, develop] runs-on: ${{ matrix.os }} steps: @@ -46,6 +46,12 @@ jobs: with: cmake-version: "3.23" + - name: Set up Java + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: "17" + - name: Install Bazel uses: bazel-contrib/setup-bazel@0.15.0 with: From 49078b8dfd4da6da0e01d5a74f7e327e8408f12b Mon Sep 17 00:00:00 2001 From: Carlos Zoido Date: Thu, 18 Jun 2026 12:04:52 +0200 Subject: [PATCH 6/6] wip --- .../editable_packages/ci_test_example.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorial/developing_packages/editable_packages/ci_test_example.py b/tutorial/developing_packages/editable_packages/ci_test_example.py index c829488e..ac73e0eb 100644 --- a/tutorial/developing_packages/editable_packages/ci_test_example.py +++ b/tutorial/developing_packages/editable_packages/ci_test_example.py @@ -49,11 +49,11 @@ with chdir("say"): replace(os.path.join("src", "say.cpp"), "Hello World", "Bye World") - if platform.system() == "Windows": - run(f"cmake --build --preset {prefix_preset_name}release") - run(f"cmake --build --preset {prefix_preset_name}debug") + if platform.system() == "Windows": + run(f"cmake --build --preset {prefix_preset_name}release --clean-first") + run(f"cmake --build --preset {prefix_preset_name}debug --clean-first") else: - run(f"cmake --build --preset {prefix_preset_name}release") + run(f"cmake --build --preset {prefix_preset_name}release --clean-first") with chdir("hello"): # Clean hello build to ensure it uses the updated say library