Skip to content

Move to meson build #170

Move to meson build

Move to meson build #170

Workflow file for this run

name: Build and Test - Python 3.10
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.sys.os }}
strategy:
matrix:
sys: [{ os: ubuntu-latest, env_name: 'pypi-build-py310-linux'},
{os: macos-13, env_name: 'pypi-build-py310-macos'},
{os: macos-latest, env_name: 'pypi-build-py310-macos'},
{ os: windows-latest, env_name: 'pypi-build-py310-windows'}]
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- name: Activate env
uses: conda-incubator/setup-miniconda@v3
with:
environment-file: conda_envs/${{ matrix.sys.env_name }}.yml
activate-environment: ${{ matrix.sys.env_name }}
- name: Meson Build package
run: |
meson setup builddir -Dbuildtype=release
meson compile -C builddir
- name: Install and run tests
run: |
pip install --no-build-isolation -e .
pytest src/quasielasticbayes/test