-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1.06 KB
/
nanobind.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
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