Change to scikit-build-core build system #31
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: Privateer Build | |
on: | |
push: | |
branches: [ "master" ] | |
paths: | |
- src/** | |
- CMakeLists.txt | |
pull_request: | |
branches: [ "master" ] | |
paths: | |
- src/** | |
- CMakeLists.txt | |
jobs: | |
build: | |
runs-on: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
repo-token: ${{secrets.GITHUB_TOKEN}} | |
- name: Build | |
run : | | |
pip install . | |
- name: Python Tests | |
run : | | |
export LD_LIBRARY_PATH=privateer_dependencies/lib | |
export CLIBD_MON=privateer_dependencies/lib/data/monomers/ | |
pytest tests/test_glycosylation_interaction.py -m fast |