File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Quick CMake config
2+ description : " Runs CMake 3.14+ (if already setup)"
3+ inputs :
4+ args :
5+ description : " Other arguments"
6+ required : false
7+ default : " "
8+ cmake-version :
9+ description : " The CMake version to run"
10+ required : true
11+
12+ runs :
13+ using : composite
14+ steps :
15+ - name : CMake ${{ inputs.cmake-version }}
16+ uses : jwlawson/actions-setup-cmake@v2.2
17+ with :
18+ cmake-version : " ${{ inputs.cmake-version }}"
19+ - run : |
20+ mkdir -p build-tmp
21+ touch build-tmp/tmp
22+ rm -r build-tmp/*
23+ (cd build-tmp && cmake .. ${{ inputs.args }})
24+ rm -r build-tmp
25+ shell: bash
Original file line number Diff line number Diff line change @@ -104,6 +104,24 @@ jobs:
104104 --config ${{ env.CMAKE_BUILD_TYPE }} \
105105 --verbose
106106
107+ cmake-config-oldest-cmake :
108+ name : CMake version range config check (Ubuntu 24.04)
109+ runs-on : ubuntu-24.04
110+ steps :
111+ - uses : actions/checkout@v6
112+
113+ - name : Check CMake 3.15
114+ uses : ./.github/actions/quick_cmake
115+ with :
116+ cmake-version : " 3.15"
117+ if : success() || failure()
118+
119+ - name : Check CMake 4.3
120+ uses : ./.github/actions/quick_cmake
121+ with :
122+ cmake-version : " 4.3"
123+ if : success() || failure()
124+
107125 bazel-build :
108126 strategy :
109127 matrix :
You can’t perform that action at this time.
0 commit comments