Merge action_test into master #5
Workflow file for this run
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 | |