File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed 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,18 @@ jobs:
104104 --config ${{ env.CMAKE_BUILD_TYPE }} \
105105 --verbose
106106
107+ cmake-config-oldest-cmake :
108+ name : CMake 3.15 config check (Ubuntu 26.04)
109+ runs-on : ubuntu-26.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+
107119 bazel-build :
108120 strategy :
109121 matrix :
You can’t perform that action at this time.
0 commit comments