Skip to content

iglesias is building Python extensions with nanobind #84

iglesias is building Python extensions with nanobind

iglesias is building Python extensions with nanobind #84

Workflow file for this run

name: nanobind
run-name: ${{ github.actor }} is building Python extensions with nanobind
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: sh
working-directory: .
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
#- name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# with:
# detached: true
- name: Python setup
uses: actions/setup-python@v5
with:
python-version: '3.11.9'
- name: Install Python development dependency
run: |
sudo apt-get update
sudo apt-get install python3.11-dev
python -m pip install --upgrade pip
pip install robotframework
# pip install -r requirements.txt
- name: Build
run: ./build_nb.sh
- name: Test
working-directory: ${{github.workspace}}
run: python3.11 nob.py
- name: Robot
run: PYTHONPATH=.:robot robot -d logs robot/NobTestSuite.robot