Skip to content

Small profiling notebook for model instantation #759

Small profiling notebook for model instantation

Small profiling notebook for model instantation #759

Workflow file for this run

name: build and run tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
Matrix-build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
python-version: [3.9] # Could add more here, but it just makes the build matrix bigger
steps:
- name: checkout
uses: actions/checkout@v3
- name: checkout submodules
run: git submodule update --init --recursive
- name: mkdir
run: mkdir build && cd build
- name: cmake config
run: cd build && CXX=clang++ cmake .. -DCMAKE_BUILD_TYPE=Release -DTEQP_SNIPPETS=ON -DTEQP_TEQPC=ON
- name: build all Catch tests
run: cmake --build build --target catch_tests
- name: build teqpc shared library
run: cmake --build build --target teqpc
- name: run all the compiled Catch tests
run: cd build && ctest --verbose
- name: build multifluid
run: cmake --build build --target multifluid
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: build wheel
run: |
pip install -U pip wheel
CXX=clang++ python -m pip -vvv wheel .