@@ -22,14 +22,14 @@ jobs:
22
22
23
23
build-ubuntu :
24
24
25
- name : Ubuntu ( ${{ matrix.os }}, ${{ matrix.portal .name }}, ${{ matrix.compiler.c }}, C++${{ matrix.cppstd }})
26
- runs-on : ${{ matrix.os }}
25
+ name : Ubuntu ${{ matrix.os.name }} - ${{ matrix.compiler .name }}, ${{ matrix.portal.name }}, C++${{ matrix.cppstd }}
26
+ runs-on : ${{ matrix.os.label }}
27
27
28
28
strategy :
29
29
matrix :
30
- os : [ubuntu-latest, ubuntu-18.04]
30
+ os : [ {label: ubuntu-latest, name: latest}, {label: ubuntu-18.04, name: 18.04} ]
31
31
portal : [ {flag: OFF, dep: libgtk-3-dev, name: GTK}, {flag: ON, dep: libdbus-1-dev, name: Portal} ] # The NFD_PORTAL setting defaults to OFF (i.e. uses GTK)
32
- compiler : [ {c: gcc, cpp: g++}, {c: clang, cpp: clang++} ] # The default compiler is gcc/g++
32
+ compiler : [ {c: gcc, cpp: g++, name: GCC }, {c: clang, cpp: clang++, name: Clang } ] # The default compiler is gcc/g++
33
33
cppstd : [23, 11]
34
34
35
35
steps :
@@ -44,15 +44,19 @@ jobs:
44
44
- name : Upload test binaries
45
45
uses : actions/upload-artifact@v2
46
46
with :
47
- name : ${{ matrix.os }} - ${{ matrix.compiler.c }}
47
+ name : Ubuntu ${{ matrix.os.name }} - ${{ matrix.compiler.name }}, ${{ matrix.portal.name }}, C++${{ matrix.cppstd }}
48
48
path : |
49
49
build/src/libnfd.a
50
50
build/test/test_*
51
51
52
52
build-macos-clang :
53
53
54
- name : MacOS latest - Clang
55
- runs-on : macos-latest
54
+ name : MacOS ${{ matrix.os.name }} - Clang
55
+ runs-on : ${{ matrix.os.label }}
56
+
57
+ strategy :
58
+ matrix :
59
+ os : [ {label: macos-latest, name: latest}, {label: macos-10.15, name: 10.15} ]
56
60
57
61
steps :
58
62
- name : Checkout
64
68
- name : Upload test binaries
65
69
uses : actions/upload-artifact@v2
66
70
with :
67
- name : MacOS latest - Clang
71
+ name : MacOS ${{ matrix.os.name }} - Clang
68
72
path : |
69
73
build/src/libnfd.a
70
74
build/test/test_*
0 commit comments