Skip to content

Commit b71db3f

Browse files
Merge branch 'master' into is-12-primitive-validation-fix
2 parents 2bbfdc5 + 3105b86 commit b71db3f

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.github/workflows/build-test.yml

+12-7
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,34 @@ on: [pull_request, push]
1010
env:
1111
SECRET_GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
1212
SECRET_RESULTS_SHEET_ID: ${{ secrets.RESULTS_SHEET_ID }}
13+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
1314
jobs:
1415
build_and_test:
1516
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 }})'
1617
runs-on: ${{ matrix.os }}
1718
strategy:
1819
fail-fast: false
1920
matrix:
20-
os: [ubuntu-20.04, macos-11, windows-2019]
21+
os: [ubuntu-20.04, macos-12, windows-2019]
2122
install_mdns: [false, true]
2223
use_conan: [true]
2324
force_cpprest_asio: [false]
2425
dns_sd_mode: [multicast, unicast]
2526
enable_authorization: [false, true]
2627
exclude:
2728
# install_mdns is only meaningful on Linux
28-
- os: macos-11
29+
- os: macos-12
2930
enable_authorization: false
3031
- os: windows-2019
3132
enable_authorization: false
3233
- os: ubuntu-20.04
3334
enable_authorization: false
34-
- os: macos-11
35+
- os: macos-12
3536
install_mdns: true
3637
- os: windows-2019
3738
install_mdns: true
3839
# for now, unicast DNS-SD tests are only implemented on Linux
39-
- os: macos-11
40+
- os: macos-12
4041
dns_sd_mode: unicast
4142
- os: windows-2019
4243
dns_sd_mode: unicast
@@ -353,6 +354,7 @@ jobs:
353354
echo "CMAKE_WORKSPACE=${RUNNER_WORKSPACE//\\/\/}" >> $GITHUB_ENV
354355
355356
- name: install test
357+
if: runner.os != 'macOS'
356358
uses: lukka/[email protected]
357359
with:
358360
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
@@ -367,6 +369,7 @@ jobs:
367369
${{ env.CMAKE_COMPILER_ARGS }}'
368370

369371
- name: install test log
372+
if: runner.os != 'macOS'
370373
run: |
371374
# dump the log file created in Sandbox/my-nmos-node/CMakeLists.txt
372375
cat ${{ env.RUNNER_WORKSPACE }}/build-my-nmos-node/my-nmos-node_include-release.txt
@@ -643,7 +646,7 @@ jobs:
643646
# ubuntu-14.04 ca-certificates are out of date
644647
git config --global http.sslVerify false
645648
# 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
647650
tar xzf openssl-1.1.1v.tar.gz
648651
cd openssl-1.1.1v
649652
./config --prefix=/usr/local/custom-openssl --libdir=lib --openssldir=/etc/ssl
@@ -909,6 +912,7 @@ jobs:
909912
echo "CMAKE_WORKSPACE=${RUNNER_WORKSPACE//\\/\/}" >> $GITHUB_ENV
910913
911914
- name: install test
915+
if: runner.os != 'macOS'
912916
uses: lukka/[email protected]
913917
with:
914918
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
@@ -923,6 +927,7 @@ jobs:
923927
${{ env.CMAKE_COMPILER_ARGS }}'
924928

925929
- name: install test log
930+
if: runner.os != 'macOS'
926931
run: |
927932
# dump the log file created in Sandbox/my-nmos-node/CMakeLists.txt
928933
cat ${{ env.RUNNER_WORKSPACE }}/build-my-nmos-node/my-nmos-node_include-release.txt
@@ -1172,8 +1177,8 @@ jobs:
11721177

11731178
- name: make badges
11741179
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
11771182
11781183
# force push to github onto an orphan 'badges' branch
11791184
cd ${{ github.workspace }}

.github/workflows/src/build-test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on: [pull_request, push]
1010
env:
1111
SECRET_GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
1212
SECRET_RESULTS_SHEET_ID: ${{ secrets.RESULTS_SHEET_ID }}
13+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
1314
jobs:
1415
build_and_test:
1516
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 }})'
@@ -159,7 +160,7 @@ jobs:
159160
# ubuntu-14.04 ca-certificates are out of date
160161
git config --global http.sslVerify false
161162
# build and install openssl
162-
curl -OsSk https://www.openssl.org/source/openssl-1.1.1v.tar.gz
163+
curl -OsSk https://openssl.org/source/old/1.1.1/openssl-1.1.1v.tar.gz
163164
tar xzf openssl-1.1.1v.tar.gz
164165
cd openssl-1.1.1v
165166
./config --prefix=/usr/local/custom-openssl --libdir=lib --openssldir=/etc/ssl

.github/workflows/src/install-test.yml

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
echo "CMAKE_WORKSPACE=${RUNNER_WORKSPACE//\\/\/}" >> $GITHUB_ENV
66
77
- name: install test
8+
if: runner.os != 'macOS'
89
uses: lukka/[email protected]
910
with:
1011
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
@@ -19,6 +20,7 @@
1920
${{ env.CMAKE_COMPILER_ARGS }}'
2021

2122
- name: install test log
23+
if: runner.os != 'macOS'
2224
run: |
2325
# dump the log file created in Sandbox/my-nmos-node/CMakeLists.txt
2426
cat ${{ env.RUNNER_WORKSPACE }}/build-my-nmos-node/my-nmos-node_include-release.txt

0 commit comments

Comments
 (0)