-
Notifications
You must be signed in to change notification settings - Fork 9
48 lines (35 loc) · 906 Bytes
/
main.yml
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
40
41
42
43
44
45
46
47
48
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