Update HighFive SHA to 2.9.0
.
#1354
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: Run tests | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
build-linux-cpp: | |
name: Run tests on ubuntu-20.04 | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
compiler: | |
- CC: clang | |
CXX: clang++ | |
- CC: gcc | |
CXX: g++ | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Install packages | |
run: sudo apt-get update && sudo apt-get install libhdf5-dev | |
- name: Build and run unittests | |
env: | |
CC: ${{ matrix.compiler.CC }} | |
CXX: ${{ matrix.compiler.CXX }} | |
run: | | |
./ci/cpp_test.sh | |
build-linux-python: | |
name: Run python tests on ubuntu-20.04 | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- uses: actions/setup-python@v4 | |
name: Install Python | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install packages | |
run: sudo apt-get update && sudo apt-get install libhdf5-dev doxygen | |
- name: Build and run unittests | |
run: | | |
./ci/python_test.sh | |
build-macos: | |
name: Run tests on macos | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Install packages on MacOS | |
run: | | |
# Unlink and re-link to prevent errors when GitHub macOS runner images | |
# install Python outside of brew; See actions/setup-python#577 | |
brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done | |
brew update | |
brew install cmake || true # macos image has cmake installed, but a new version may exist; ignore it if so | |
brew install doxygen | |
brew install hdf5 | |
- name: Build and run unittests | |
run: | | |
./ci/cpp_test.sh | |
./ci/python_test.sh |