-
Notifications
You must be signed in to change notification settings - Fork 4
48 lines (40 loc) · 1.44 KB
/
nightly-tests.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: Nightly tests
on:
schedule:
- cron: "0 0 * * *"
jobs:
test_moorhen:
runs-on: ubuntu-latest
timeout-minutes: 240
steps:
- uses: actions/checkout@v3
name: Checkout Moorhen
with:
submodules: recursive
- name: Install dependencies
working-directory: /home/runner/work/Moorhen/
run: |
sudo apt-get update -y
sudo apt-get install -y bzr nodejs npm pkg-config libfreetype6-dev libxft-dev blt-dev build-essential zlib1g-dev autoconf autotools-dev libtool gcc cmake patch curl libeigen3-dev meson
- name: Download and install emsdk
run: |
cd /home/runner/work/Moorhen/
git clone https://github.com/emscripten-core/emsdk.git
cd /home/runner/work/Moorhen/emsdk/
./emsdk install latest
./emsdk activate latest
- name: Download Moorhen sources
working-directory: /home/runner/work/Moorhen/Moorhen
run: |
source /home/runner/work/Moorhen/emsdk/emsdk_env.sh
./get_sources
- name: Install bindings
working-directory: /home/runner/work/Moorhen/Moorhen
run: |
source /home/runner/work/Moorhen/emsdk/emsdk_env.sh
./initial_build.sh
- name: Run tests
working-directory: /home/runner/work/Moorhen/Moorhen/baby-gru
run: |
source /home/runner/work/Moorhen/emsdk/emsdk_env.sh
npm test