-
Notifications
You must be signed in to change notification settings - Fork 30
39 lines (34 loc) · 1 KB
/
test_build.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
name: test build
on:
push:
branches: [master]
pull_request:
jobs:
test-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Dependencies
run: |
echo "Installing libcurl"
sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
- name: Run Makefile
run: |
echo "Building"
make all
echo "Building examples"
make examples
echo "Building tests"
make test
echo "Building voice"
make clean && make voice
- name: Run Makefile with parallelism
run: |
echo "Building with parallelism"
make clean && make all -j$(nproc)
echo "Building examples with parallelism"
make clean && make examples -j$(nproc)
echo "Building tests with parallelism"
make clean && make test -j$(nproc)
echo "Building voice with parallelism"
make clean && make voice -j$(nproc)