-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (43 loc) · 1.02 KB
/
python_packages.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Found here: https://tomasfarias.dev/posts/sphinx-docs-with-poetry-and-github-pages/
name: Docs2Pages
on:
workflow_dispatch:
branches:
- main
push:
# tags: '*'
branches:
- main
pull_request:
branches:
- main
jobs:
build-wheels:
runs-on: ubuntu-latest
steps:
- name: 🐧Install Blas
run: sudo apt install libopenblas-dev
- name: 🐙 Checkout
uses: actions/checkout@master
with:
fetch-depth: 0
- name: 🦀 Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.68.2
components: rustfmt, clippy
- uses: 🐍 actions/setup-python@v3
with:
python-version: 3.10.12
- name: 📚 Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.4.2
- name: 🛞 Build potpourri package
run: |
cd potpourri
poetry run maturin build --release
- name: 🛞 Build cerebral package
run: |
cd cerebral
poetry run maturin build --release