-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (45 loc) · 1000 Bytes
/
controller.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: controller
on:
push:
branches:
- master
- controller
pull_request:
branches:
- master
- controller
jobs:
gtest:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: install-gtest
shell: bash
run: sudo apt-get install libgtest-dev
- name: install-cmake
shell: bash
run: sudo apt-get install cmake
- name: cmake
shell: bash
working-directory: /usr/src/gtest
run: sudo cmake CMakeLists.txt
- name: make
shell: bash
working-directory: /usr/src/gtest
run: sudo make
- name: symlink
shell: bash
working-directory: /usr/src/gtest
run: sudo cp *.a /usr/lib
- name: make-test
shell: bash
working-directory: controller
run: make clean test
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: make-all
shell: bash
working-directory: controller
run: make clean all