Skip to content

Enable Scikit-build as the build backend #95

Enable Scikit-build as the build backend

Enable Scikit-build as the build backend #95

Workflow file for this run

name: Build and Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Initial Setup
run: sudo bash ./scripts/setup_ubuntu
- name: Build, Install and Test
run: |
export PATH="/opt/drake/bin${PATH:+:${PATH}}"
export PYTHONPATH="/opt/drake/lib/python$(python3 -c 'import sys; print("{0}.{1}".format(*sys.version_info))')/site-packages${PYTHONPATH:+:${PYTHONPATH}}"
export LD_LIBRARY_PATH="/opt/drake/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
pip3 install pybind11[global] pytest
pip3 install --verbose .[test]
py.test