@@ -10,33 +10,34 @@ on: [pull_request, push]
10
10
env :
11
11
SECRET_GOOGLE_CREDENTIALS : ${{ secrets.GOOGLE_CREDENTIALS }}
12
12
SECRET_RESULTS_SHEET_ID : ${{ secrets.RESULTS_SHEET_ID }}
13
+ ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION : true
13
14
jobs :
14
15
build_and_test :
15
16
name : ' ${{ matrix.os }}: build and test (install mdns: ${{ matrix.install_mdns }}, use conan: ${{ matrix.use_conan }}, force cpprest asio: ${{ matrix.force_cpprest_asio }}, dns-sd mode: ${{ matrix.dns_sd_mode}}, enable_authorization: ${{ matrix.enable_authorization }})'
16
17
runs-on : ${{ matrix.os }}
17
18
strategy :
18
19
fail-fast : false
19
20
matrix :
20
- os : [ubuntu-20.04, macos-11 , windows-2019]
21
+ os : [ubuntu-20.04, macos-12 , windows-2019]
21
22
install_mdns : [false, true]
22
23
use_conan : [true]
23
24
force_cpprest_asio : [false]
24
25
dns_sd_mode : [multicast, unicast]
25
26
enable_authorization : [false, true]
26
27
exclude :
27
28
# install_mdns is only meaningful on Linux
28
- - os : macos-11
29
+ - os : macos-12
29
30
enable_authorization : false
30
31
- os : windows-2019
31
32
enable_authorization : false
32
33
- os : ubuntu-20.04
33
34
enable_authorization : false
34
- - os : macos-11
35
+ - os : macos-12
35
36
install_mdns : true
36
37
- os : windows-2019
37
38
install_mdns : true
38
39
# for now, unicast DNS-SD tests are only implemented on Linux
39
- - os : macos-11
40
+ - os : macos-12
40
41
dns_sd_mode : unicast
41
42
- os : windows-2019
42
43
dns_sd_mode : unicast
@@ -353,6 +354,7 @@ jobs:
353
354
echo "CMAKE_WORKSPACE=${RUNNER_WORKSPACE//\\/\/}" >> $GITHUB_ENV
354
355
355
356
- name : install test
357
+ if : runner.os != 'macOS'
356
358
357
359
with :
358
360
cmakeListsOrSettingsJson : CMakeListsTxtAdvanced
@@ -367,6 +369,7 @@ jobs:
367
369
${{ env.CMAKE_COMPILER_ARGS }}'
368
370
369
371
- name : install test log
372
+ if : runner.os != 'macOS'
370
373
run : |
371
374
# dump the log file created in Sandbox/my-nmos-node/CMakeLists.txt
372
375
cat ${{ env.RUNNER_WORKSPACE }}/build-my-nmos-node/my-nmos-node_include-release.txt
@@ -643,7 +646,7 @@ jobs:
643
646
# ubuntu-14.04 ca-certificates are out of date
644
647
git config --global http.sslVerify false
645
648
# build and install openssl
646
- curl -OsSk https://www. openssl.org/source/openssl-1.1.1v.tar.gz
649
+ curl -OsSk https://openssl.org/source/old/1.1.1 /openssl-1.1.1v.tar.gz
647
650
tar xzf openssl-1.1.1v.tar.gz
648
651
cd openssl-1.1.1v
649
652
./config --prefix=/usr/local/custom-openssl --libdir=lib --openssldir=/etc/ssl
@@ -909,6 +912,7 @@ jobs:
909
912
echo "CMAKE_WORKSPACE=${RUNNER_WORKSPACE//\\/\/}" >> $GITHUB_ENV
910
913
911
914
- name : install test
915
+ if : runner.os != 'macOS'
912
916
913
917
with :
914
918
cmakeListsOrSettingsJson : CMakeListsTxtAdvanced
@@ -923,6 +927,7 @@ jobs:
923
927
${{ env.CMAKE_COMPILER_ARGS }}'
924
928
925
929
- name : install test log
930
+ if : runner.os != 'macOS'
926
931
run : |
927
932
# dump the log file created in Sandbox/my-nmos-node/CMakeLists.txt
928
933
cat ${{ env.RUNNER_WORKSPACE }}/build-my-nmos-node/my-nmos-node_include-release.txt
@@ -1172,8 +1177,8 @@ jobs:
1172
1177
1173
1178
- name : make badges
1174
1179
run : |
1175
- # combine badges from all builds, exclude macos-11
1176
- ${{ github.workspace }}/Sandbox/make_badges.sh ${{ github.workspace }} ${{ runner.workspace }}/artifacts macos-11_auth macos-11_noauth
1180
+ # combine badges from all builds, exclude macos-12
1181
+ ${{ github.workspace }}/Sandbox/make_badges.sh ${{ github.workspace }} ${{ runner.workspace }}/artifacts macos-12_auth macos-12_noauth
1177
1182
1178
1183
# force push to github onto an orphan 'badges' branch
1179
1184
cd ${{ github.workspace }}
0 commit comments