Release #3
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: Release | |
on: | |
release: | |
types: [published] | |
permissions: | |
contents: write | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo apt install build-essential cmake python3 python3-dev python3-pybind11 pybind11-dev libqalculate-dev clang python3-pytest | |
- name: Build | |
run: | | |
mkdir build && cd build | |
cmake -DUSE_SYSTEM_QALCULATE=OFF .. | |
make -j $(nproc) | |
- uses: softprops/action-gh-release@v2 | |
with: | |
files: ./build/qalculate*.whl | |
- run: pytest |