File tree Expand file tree Collapse file tree 1 file changed +29
-4
lines changed Expand file tree Collapse file tree 1 file changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -4,20 +4,45 @@ on: [pull_request, push]
4
4
jobs :
5
5
ubuntu :
6
6
runs-on : ubuntu-latest
7
+
8
+ strategy :
9
+ fail-fast : false
10
+ matrix :
11
+ target : [all, no_gui]
12
+ compiler : [g++, clang++]
13
+
14
+ name : linux-${{ matrix.target }}-${{ matrix.compiler }}
15
+
7
16
steps :
8
17
- name : Checkout
9
18
uses : actions/checkout@v2
10
19
with :
11
20
submodules : true
12
21
13
- - name : Install dependencies
22
+ - name : Prepare system
14
23
run : |
15
24
sudo sed -i 's/azure\.//' /etc/apt/sources.list
16
25
sudo apt-get update
17
- sudo apt-get install -y libasound2-dev qtbase5-dev libqwt-qt5-dev
26
+
27
+ - name : Install base dependencies
28
+ run : |
29
+ sudo apt-get install -y libasound2-dev
30
+
31
+ - name : Install ui dependencies
32
+ if : ${{ matrix.target == 'all' }}
33
+ run : |
34
+ sudo apt-get install -y qtbase5-dev libqwt-qt5-dev
18
35
19
36
- name : Build
20
- run : make
37
+ env :
38
+ CXX : ${{ matrix.compiler }}
39
+ LD : ${{ matrix.compiler }}
40
+ CXXFLAGS : -Werror
41
+ run : make ${{ matrix.target }}
21
42
22
- - name : Run help
43
+ - name : Check cli
23
44
run : ./bin/signal-estimator -h
45
+
46
+ - name : Check ui
47
+ if : ${{ matrix.target == 'all' }}
48
+ run : test -e ./bin/signal-estimator-gui
You can’t perform that action at this time.
0 commit comments