-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (39 loc) · 957 Bytes
/
webots.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
name: webots
on:
push:
branches:
- master
- webots
pull_request:
branches:
- master
- webots
jobs:
build-internal:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install-webots
shell: bash
run: sudo snap install webots
- name: set-path
shell: bash
run: echo "::set-env name=WEBOTS_HOME::/snap/webots/current/usr/share/webots"
- name: make-interal
shell: bash
working-directory: webots/controllers/internal
run: make
build-supervisor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install-webots
shell: bash
run: sudo snap install webots
- name: set-path
shell: bash
run: echo "::set-env name=WEBOTS_HOME::/snap/webots/current/usr/share/webots"
- name: make-supervisor
shell: bash
working-directory: webots/controllers/supervisor
run: make