Update checkout action to 4.0.0 #75
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: build | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
threading: | |
- -Dwith_openmp=false | |
- -Dwith_openmp=true | |
blas: | |
- -Dwith_atlas=false # defaults to netlib blas | |
- -Dwith_atlas=true | |
solvers: | |
- -Dwith_superlu=true -Dwith_umfpack=true | |
fftw3: | |
- -Dwith_fftw3=false | |
- -Dwith_fftw3=true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
lfs: true | |
- name: install-deps | |
run: > | |
sudo apt-get install libglib2.0-dev gobject-introspection | |
libgirepository1.0-dev libblas-dev libatlas-base-dev liblapacke-dev | |
libfftw3-dev libsuperlu-dev python3-pip python3-wheel | |
python3-setuptools ninja-build libsuitesparse-dev | |
- name: install-meson | |
run: sudo pip3 install meson | |
- name: configure | |
run: meson ${{ matrix.threading }} ${{ matrix.blas }} ${{ matrix.solvers }} ${{ matrix.fftw3 }} -Dwith_introspection=true build | |
- name: build | |
run: ninja -C build | |
- name: test | |
run: meson test -C build | |
- name: dist | |
run: meson dist -C build |