-
Notifications
You must be signed in to change notification settings - Fork 26
67 lines (57 loc) · 1.28 KB
/
ci.yml
File metadata and controls
67 lines (57 loc) · 1.28 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
# Build and Integration Test
build:
strategy:
fail-fast: false
matrix:
OS:
- macos-latest
- ubuntu-latest
- ubuntu-24.04
- ubuntu-22.04
runs-on: ${{ matrix.OS }}
steps:
# checkout source code
- uses: actions/checkout@v2
# install doxygen
- name: Install Doxygen
run: |
if [[ "$RUNNER_OS" == "Linux" ]]; then
sudo apt-get install doxygen -y
elif [[ "$RUNNER_OS" == "macOS" ]]; then
brew install --formula doxygen
fi
# compile SIPNET
- name: compile sipnet
run: make
# run smoke tests
- name: Run SIPNET smoke tests
shell: bash
run: tests/smoke/run_smoke.sh
# Run Unit Tests
test:
needs: build
strategy:
fail-fast: false
matrix:
OS:
- macos-latest
- ubuntu-latest
- ubuntu-24.04
- ubuntu-22.04
runs-on: ${{ matrix.OS }}
steps:
# checkout source code
- uses: actions/checkout@v2
# compile unit tests
- name: compile tests
run: make test
# run tests
- name: Run Unit Tests
run: make testrun