-
Notifications
You must be signed in to change notification settings - Fork 33
44 lines (43 loc) · 949 Bytes
/
build.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
name: BuildGalileo
on:
push:
branches: [ main ]
paths-ignore:
- conda/**
- docker/**
- docs/**
- examples/**
- testdata/**
- LICENSE
- README.md
pull_request:
branches: [ main ]
paths-ignore:
- conda/**
- docker/**
- docs/**
- examples/**
- testdata/**
- LICENSE
- README.md
workflow_dispatch:
jobs:
build_and_test:
name: build and test Galileo in docker container
runs-on: ubuntu-latest
container: jdgalileo/galileo:devel-cpu
steps:
- name: check out code
uses: actions/checkout@v2
with:
submodules: true
- name: build
run: |
source ./docker/env.sh
python3 setup.py build
- name: test
run: |
source ./docker/env.sh
python3 setup.py develop
bash ./galileo/tests/run_tests.sh
make test -C ./build/engine/