From 71e2a48db16ab1ec987fa7ef7d113d5b32a94e81 Mon Sep 17 00:00:00 2001 From: CocaCora <153407204+CoraBlack@users.noreply.github.com> Date: Sun, 15 Feb 2026 12:06:01 +0800 Subject: [PATCH 1/2] Update cmake-multi-platform.yml --- .github/workflows/cmake-multi-platform.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 7ab1b4d..ea2b565 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -4,9 +4,9 @@ name: CMake on multiple platforms on: push: - branches: [ "main" ] + branches: [ "main", "workflow-test" ] pull_request: - branches: [ "main" ] + branches: [ "main", "workflow-test" ] jobs: build: @@ -54,6 +54,14 @@ jobs: run: | echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" + - name: Setup cmake + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: "4.1.x" + + - name: Check cmake version + run: cmake --version + - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type From f12c9e57d460bca848caf9c673ffe96da12f6317 Mon Sep 17 00:00:00 2001 From: CocaCora <153407204+CoraBlack@users.noreply.github.com> Date: Sun, 15 Feb 2026 12:08:26 +0800 Subject: [PATCH 2/2] Update cmake-multi-platform.yml --- .github/workflows/cmake-multi-platform.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index ea2b565..0bebbda 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -4,9 +4,9 @@ name: CMake on multiple platforms on: push: - branches: [ "main", "workflow-test" ] + branches: [ "main", "dev", "workflow-test" ] pull_request: - branches: [ "main", "workflow-test" ] + branches: [ "main", "dev", "workflow-test" ] jobs: build: