Skip to content

Commit

Permalink
WIP: Add build and test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
afishhh committed May 6, 2024
1 parent 81bf00d commit ee3e510
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release
on:
release:
types: [published]

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 autoconf intltool libtool automake libgmp-dev libmpfr-dev libcurl4-openssl-dev libicu-dev libxml2-dev clang python3-pytest
- name: Build
run: |
mkdir build && cd build
cmake -DUSE_SYSTEM_LIBQALCULATE=OFF ..
make -j $(nproc)
- uses: softprops/action-gh-release@v2
with:
files: ./build/qalculate*.whl
- run: pytest

0 comments on commit ee3e510

Please sign in to comment.