-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- This closes #89 and possibly relates to #90. - The new manually triggered CI job uses the suggestions from #89 to find the minimum CMake version. - Wrong version of cmake required to compile the library #89 to find the minimum CMake version. - The minor adjustments in the CMakeLists.txt reduce the needed CMake version to 3.8 instead of 3.18 - The missing CoolProp include directories have also been fixed. - As pointed out in #85, we may want to bring back the subdirectory notation for GCC and friends, this is also included here.
- Loading branch information
Showing
2 changed files
with
72 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Minimum CMake version | ||
|
||
# only allow manual triggers and the cmake branch | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- fix/cmake_version | ||
|
||
jobs: | ||
|
||
min-cmake: | ||
runs-on: ${{ matrix.platform }} | ||
strategy: | ||
matrix: | ||
platform: [ubuntu-latest] #, macos-latest, windows-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Get the latest script | ||
run: git clone --recursive https://github.com/nlohmann/cmake_min_version.git cmake_min_version | ||
- name: Prepare the environment | ||
run: | | ||
cd cmake_min_version | ||
python3 -mvenv venv | ||
venv/bin/pip3 install -r requirements.txt | ||
venv/bin/python3 cmake_downloader.py --latest_patch | ||
- name: Run the script | ||
run: | | ||
cd cmake_min_version | ||
venv/bin/python cmake_min_version.py ${GITHUB_WORKSPACE}/Projects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters