refactor: expose setup_vtk_env
, use generator expressions, fix fold…
#31
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: 🐍 Build Bindings | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
bindings: | |
strategy: | |
fail-fast: false | |
matrix: | |
vtk-system: [true, false] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
exclude: | |
- os: macos-latest | |
vtk-system: true | |
- os: windows-latest | |
vtk-system: true | |
runs-on: ${{ matrix.os }} | |
container: ${{ matrix.os == 'ubuntu-latest' && 'fedora:38' || null }} | |
name: '🐍 Build Bindings on ${{ matrix.os }} [VTK installed: "${{ matrix.vtk-system }}"]' | |
steps: | |
- name: 📥 Checkout | |
uses: actions/checkout@v3 | |
- name: 🖥️ Setup Environment | |
uses: ./.github/actions/setup | |
with: | |
container: ${{ matrix.os }} | |
install-vtk: ${{ matrix.vtk-system }} | |
- name: 🐍 Build Python Module | |
run: pip3 install --user . -v |