Skip to content

Build and test

Build and test #1

Workflow file for this run

name: main
run-name: Build and test
on: [pull_request, push]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix develop --command bash -c "mkdir build && cd build && cmake .. && make -j 16"
- uses: actions/upload-artifact@v4
with:
name: wheel
path: ./build/qalculate*.whl
- run: nix develop --command pytest