Cleanup random Test/CMake related stuff. #397
Workflow file for this run
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
name: HighFive Check Version File | |
on: | |
push: | |
branches: | |
- master | |
- main | |
- v2.x | |
pull_request: | |
branches: | |
- master | |
- main | |
- v2.x | |
jobs: | |
CheckVersion: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: "Install libraries" | |
run: | | |
sudo apt-get -qq update | |
sudo apt-get -qq install libhdf5-dev ninja-build | |
- name: Build | |
run: | | |
# Will trigger `configure_file` for H5Version.hpp. | |
cmake -B build . | |
- name: Test | |
run: | | |
# Check that the file hasn't changed, i.e. was updated | |
# after changing the version number. | |
! git status | grep include/highfive/H5Version.hpp |