-
Notifications
You must be signed in to change notification settings - Fork 14
47 lines (38 loc) · 1.09 KB
/
pythonBinding.yml
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
46
47
name: PythonBinding
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
jobLinux:
uses: .github/workflows/linux.yml@main
jobmacOS:
uses: .github/workflows/macOS.yml@main
jobWindows:
uses: .github/workflows/windows.yml@main
build:
runs-on: ubuntu-latest
needs: [jobLinux, jobmacOS, jobWindows]
container: ubuntu:latest
steps:
- uses: actions/checkout@v4
- name: Install python
run: |
apt-get update
export DEBIAN_FRONTEND=noninteractive
apt-get install -y python3.12 python3.12-venv python3-pip cython3
mkdir venv
python3.12 -m venv venv/
. venv/bin/activate
python3.12 -m pip install --upgrade pip
python3.12 -m pip install setuptools cython
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4
- name: compile Python binding
run: |
. venv/bin/activate
cd bindings/Python/cython/
ls -la libpointing/
python3 -m build
ls -la dist/