diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 7ab1b4d..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" ] + branches: [ "main", "dev", "workflow-test" ] pull_request: - branches: [ "main" ] + branches: [ "main", "dev", "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