Merge pull request #103 from glycojones/fix_anomer_diagnostic #20
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 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.7' | |
repo-token: ${{secrets.GITHUB_TOKEN}} | |
- name: Check out dependencies | |
run : | | |
git clone https://github.com/Dialpuri/privateer_dependencies.git | |
- name: Source Environment | |
run: source ccp4.envsetup-sh | |
- name: Load python environment | |
run : pip install -r requirements.txt | |
- name: Setup cmake | |
uses: jwlawson/[email protected] | |
- name: Build | |
run : | | |
pwd | |
export CLIBD=privateer_dependencies/lib/data | |
python setup_test.py install | |