-
Notifications
You must be signed in to change notification settings - Fork 5
44 lines (40 loc) · 965 Bytes
/
build-test.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: CI
on: [push]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: submoduels
run: git submodule update --init --recursive
- name: setup tools
run: |
mkdir opt
curl -L https://github.com/Kitware/CMake/releases/download/v3.16.1/cmake-3.16.1-Linux-x86_64.sh > opt/cmake.sh
sh opt/cmake.sh --skip-license --prefix=`pwd`/opt
export PATH=`pwd`/opt/bin:$PATH
cmake --version
- name: configure
run: |
pwd
export PATH=`pwd`/opt/bin:$PATH
mkdir build
cd build
cmake --version
cmake ..
- name: make webrtc
run: |
export PATH=`pwd`/opt/bin:$PATH
cd build
cmake --version
make setup_webrtc
make patch_webrtc
make build_webrtc
- name: make
run: |
cd build
make
- name: ctest -VV
run: |
cd build
ctest