File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 31
31
cmake-crypto-enable : " -DENABLE_MBEDTLS=ON"
32
32
33
33
runs-on : ${{ matrix.os }}
34
-
34
+
35
35
env :
36
36
CTEST_OUTPUT_ON_FAILURE : 1
37
37
@@ -41,23 +41,23 @@ jobs:
41
41
run : |
42
42
sudo apt-get update
43
43
sudo apt-get install libnss3-dev
44
-
44
+
45
45
- name : Setup Ubuntu MbedTLS
46
46
if : matrix.os == 'ubuntu-20.04' && matrix.crypto == 'mbedtls'
47
47
run : sudo apt-get install libmbedtls-dev
48
-
48
+
49
49
- name : Setup macOS OpenSSL
50
50
if : matrix.os == 'macos-latest' && matrix.crypto == 'openssl'
51
51
run :
echo "cmake-crypto-dir=-DOPENSSL_ROOT_DIR=$(brew --prefix [email protected] )" >> $GITHUB_ENV
52
-
52
+
53
53
- name : Setup macOS NSS
54
54
if : matrix.os == 'macos-latest' && matrix.crypto == 'nss'
55
55
run : brew install nss
56
-
56
+
57
57
- name : Setup macOS MbedTLS
58
58
if : matrix.os == 'macos-latest' && matrix.crypto == 'mbedtls'
59
59
run : brew install mbedtls
60
-
60
+
61
61
- uses : actions/checkout@v2
62
62
63
63
- name : Create Build Environment
82
82
working-directory : ${{github.workspace}}/build
83
83
shell : bash
84
84
run : |
85
- make clean
86
- make C_FLAGS="-DSRTP_NO_STREAM_LIST -DSRTP_USE_TEST_STREAM_LIST" srtp_driver
87
- ./srtp_driver -v
85
+ cmake --build . --clean-first -t srtp_driver -- C_FLAGS="-DSRTP_NO_STREAM_LIST -DSRTP_USE_TEST_STREAM_LIST"
86
+ ctest -R srtp_driver
You can’t perform that action at this time.
0 commit comments