-
Notifications
You must be signed in to change notification settings - Fork 12
36 lines (34 loc) · 1.17 KB
/
ci-workflow.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
name: Continuous integration
on:
push:
pull_request:
schedule:
- cron : "0 0 * * 1" #Run every mondays, to check if epsilon hasn't changed to much
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Install deps
run: sudo apt-get install build-essential imagemagick libfreetype6-dev libjpeg-dev libpng-dev pkg-config
- name: Checkout epsilon
uses: actions/checkout@v2
with:
repository: 'numworks/epsilon'
ref: 'master'
- name: Patch apps_layout
run: |
cat > apps/home/apps_layout.csv << EOF
Default,calculation,atomic,graph,code,statistics,probability,solver,sequence,regression,settings
HidePython,calculation,atomic,graph,solver,statistics,probability,regression,sequence,code,settings
EOF
- name: Checkout atomic
uses: actions/checkout@v2
with:
path: 'apps/atomic'
- name: Build
run: make -j2 PLATFORM=simulator EPSILON_APPS="atomic settings"
- name: Upload
uses: actions/upload-artifact@master
with:
name: epsilon-linux.bin
path: output/release/simulator/linux/epsilon.bin