Update pythonBinding.yml #6
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: PythonBinding | ||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
jobs: | ||
jobLinux: | ||
uses: .github/workflows/linux.yml@main | ||
Check failure on line 11 in .github/workflows/pythonBinding.yml GitHub Actions / .github/workflows/pythonBinding.ymlInvalid workflow file
|
||
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/ |