|
1 |
| -name: SSL Compatibility CI |
2 |
| - |
3 |
| -on: |
4 |
| - push: |
5 |
| - branches: [master] |
6 |
| - pull_request: |
7 |
| - branches: [master] |
8 |
| - |
9 |
| -jobs: |
10 |
| - openssl: |
11 |
| - runs-on: ubuntu-latest |
12 |
| - strategy: |
13 |
| - matrix: |
14 |
| - openssl: |
15 |
| - - { tag: "openssl-3.0.0", name: "3.0.0" } |
16 |
| - - { tag: "OpenSSL_1_1_1l", name: "1.1.1l" } |
17 |
| - - { tag: "OpenSSL_1_1_0i", name: "1.1.0i" } |
18 |
| - - { tag: "OpenSSL_1_0_2u", name: "1.0.2u" } |
19 |
| - - { tag: "OpenSSL_1_0_1u", name: "1.0.1u" } |
20 |
| - name: OpenSSL ${{ matrix.openssl.name }} |
21 |
| - steps: |
22 |
| - - uses: actions/checkout@v2 |
23 |
| - - uses: lukka/get-cmake@latest |
24 |
| - - uses: ./.github/actions/install/gtest |
25 |
| - - uses: ./.github/actions/install/openssl |
26 |
| - with: |
27 |
| - version: ${{ matrix.openssl.tag }} |
28 |
| - |
29 |
| - - name: configure |
30 |
| - run: cmake . -DJWT_BUILD_TESTS=ON -DOPENSSL_ROOT_DIR=/tmp |
31 |
| - - run: make |
32 |
| - - name: test |
33 |
| - run: ./tests/jwt-cpp-test |
34 |
| - |
35 |
| - - if: github.event_name == 'push' && always() |
36 |
| - uses: ./.github/actions/badge |
37 |
| - with: |
38 |
| - category: openssl |
39 |
| - label: ${{ matrix.openssl.name }} |
40 |
| - |
41 |
| - openssl-no-deprecated: |
42 |
| - runs-on: ubuntu-latest |
43 |
| - name: OpenSSL 3.0 No Deprecated |
44 |
| - steps: |
45 |
| - - uses: actions/checkout@v2 |
46 |
| - - uses: lukka/get-cmake@latest |
47 |
| - - uses: ./.github/actions/install/gtest |
48 |
| - - uses: ./.github/actions/install/openssl |
49 |
| - with: |
50 |
| - version: "openssl-3.0.0" |
51 |
| - |
52 |
| - - name: configure |
53 |
| - run: cmake . -DJWT_BUILD_TESTS=ON -DOPENSSL_ROOT_DIR=/tmp -DCMAKE_CXX_FLAGS="-DOPENSSL_NO_DEPRECATED_3_0=1" -DCMAKE_C_FLAGS="-DOPENSSL_NO_DEPRECATED_3_0=1" |
54 |
| - - run: make |
55 |
| - |
56 |
| - libressl: |
57 |
| - runs-on: ubuntu-latest |
58 |
| - strategy: |
59 |
| - matrix: |
60 |
| - libressl: ["3.4.0", "3.3.4", "3.2.6"] |
61 |
| - name: LibreSSL ${{ matrix.libressl }} |
62 |
| - steps: |
63 |
| - - uses: actions/checkout@v2 |
64 |
| - - uses: lukka/get-cmake@latest |
65 |
| - - uses: ./.github/actions/install/gtest |
66 |
| - - uses: ./.github/actions/install/libressl |
67 |
| - with: |
68 |
| - version: ${{ matrix.libressl }} |
69 |
| - |
70 |
| - - name: configure |
71 |
| - run: cmake . -DJWT_BUILD_TESTS=ON -DJWT_SSL_LIBRARY:STRING=LibreSSL |
72 |
| - - run: make |
73 |
| - - name: test |
74 |
| - run: ./tests/jwt-cpp-test |
75 |
| - |
76 |
| - - if: github.event_name == 'push' && always() |
77 |
| - uses: ./.github/actions/badge |
78 |
| - with: |
79 |
| - category: libressl |
80 |
| - label: ${{ matrix.libressl }} |
81 |
| - |
82 |
| - wolfssl: |
83 |
| - runs-on: ubuntu-latest |
84 |
| - strategy: |
85 |
| - matrix: |
86 |
| - wolfssl: |
87 |
| - - { ref: "v5.0.0-stable", name: "5.0.0" } |
88 |
| - name: wolfSSL ${{ matrix.wolfssl.name }} |
89 |
| - steps: |
90 |
| - - uses: actions/checkout@v2 |
91 |
| - - uses: lukka/get-cmake@latest |
92 |
| - - uses: ./.github/actions/install/gtest |
93 |
| - - uses: ./.github/actions/install/wolfssl |
94 |
| - with: |
95 |
| - version: ${{ matrix.wolfssl.ref }} |
96 |
| - |
97 |
| - - name: configure |
98 |
| - run: cmake . -DJWT_BUILD_TESTS=ON -DJWT_SSL_LIBRARY:STRING=wolfSSL |
99 |
| - - run: make |
100 |
| - - name: test |
101 |
| - run: ./tests/jwt-cpp-test |
102 |
| - |
103 |
| - - if: github.event_name == 'push' && always() |
104 |
| - uses: ./.github/actions/badge |
105 |
| - with: |
106 |
| - category: wolfssl |
107 |
| - label: ${{ matrix.wolfssl.name }} |
| 1 | +name: SSL Compatibility CI |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: [master] |
| 6 | + pull_request: |
| 7 | + branches: [master] |
| 8 | + |
| 9 | +jobs: |
| 10 | + openssl: |
| 11 | + runs-on: ubuntu-latest |
| 12 | + strategy: |
| 13 | + matrix: |
| 14 | + openssl: |
| 15 | + - { tag: "openssl-3.0.0", name: "3.0.0" } |
| 16 | + - { tag: "OpenSSL_1_1_1l", name: "1.1.1l" } |
| 17 | + - { tag: "OpenSSL_1_1_0i", name: "1.1.0i" } |
| 18 | + - { tag: "OpenSSL_1_0_2u", name: "1.0.2u" } |
| 19 | + - { tag: "OpenSSL_1_0_1u", name: "1.0.1u" } |
| 20 | + name: OpenSSL ${{ matrix.openssl.name }} |
| 21 | + steps: |
| 22 | + - uses: actions/checkout@v2 |
| 23 | + - uses: lukka/get-cmake@latest |
| 24 | + - uses: ./.github/actions/install/gtest |
| 25 | + - uses: ./.github/actions/install/openssl |
| 26 | + with: |
| 27 | + version: ${{ matrix.openssl.tag }} |
| 28 | + |
| 29 | + - name: configure |
| 30 | + run: cmake . -DJWT_BUILD_TESTS=ON -DOPENSSL_ROOT_DIR=/tmp |
| 31 | + - run: make |
| 32 | + - name: test |
| 33 | + run: ./tests/jwt-cpp-test |
| 34 | + |
| 35 | + - if: github.event_name == 'push' && always() |
| 36 | + uses: ./.github/actions/badge |
| 37 | + with: |
| 38 | + category: openssl |
| 39 | + label: ${{ matrix.openssl.name }} |
| 40 | + |
| 41 | + openssl-no-deprecated: |
| 42 | + runs-on: ubuntu-latest |
| 43 | + name: OpenSSL 3.0 No Deprecated |
| 44 | + steps: |
| 45 | + - uses: actions/checkout@v2 |
| 46 | + - uses: lukka/get-cmake@latest |
| 47 | + - uses: ./.github/actions/install/gtest |
| 48 | + - uses: ./.github/actions/install/openssl |
| 49 | + with: |
| 50 | + version: "openssl-3.0.0" |
| 51 | + |
| 52 | + - name: configure |
| 53 | + run: cmake . -DJWT_BUILD_TESTS=ON -DOPENSSL_ROOT_DIR=/tmp -DCMAKE_CXX_FLAGS="-DOPENSSL_NO_DEPRECATED_3_0=1" -DCMAKE_C_FLAGS="-DOPENSSL_NO_DEPRECATED_3_0=1" |
| 54 | + - run: make |
| 55 | + |
| 56 | + libressl: |
| 57 | + runs-on: ubuntu-latest |
| 58 | + strategy: |
| 59 | + matrix: |
| 60 | + libressl: ["3.4.0", "3.3.4", "3.2.6"] |
| 61 | + name: LibreSSL ${{ matrix.libressl }} |
| 62 | + steps: |
| 63 | + - uses: actions/checkout@v2 |
| 64 | + - uses: lukka/get-cmake@latest |
| 65 | + - uses: ./.github/actions/install/gtest |
| 66 | + - uses: ./.github/actions/install/libressl |
| 67 | + with: |
| 68 | + version: ${{ matrix.libressl }} |
| 69 | + |
| 70 | + - name: configure |
| 71 | + run: cmake . -DJWT_BUILD_TESTS=ON -DJWT_SSL_LIBRARY:STRING=LibreSSL |
| 72 | + - run: make |
| 73 | + - name: test |
| 74 | + run: ./tests/jwt-cpp-test |
| 75 | + |
| 76 | + - if: github.event_name == 'push' && always() |
| 77 | + uses: ./.github/actions/badge |
| 78 | + with: |
| 79 | + category: libressl |
| 80 | + label: ${{ matrix.libressl }} |
| 81 | + |
| 82 | + wolfssl: |
| 83 | + runs-on: ubuntu-latest |
| 84 | + strategy: |
| 85 | + matrix: |
| 86 | + wolfssl: |
| 87 | + - { ref: "v5.0.0-stable", name: "5.0.0" } |
| 88 | + name: wolfSSL ${{ matrix.wolfssl.name }} |
| 89 | + steps: |
| 90 | + - uses: actions/checkout@v2 |
| 91 | + - uses: lukka/get-cmake@latest |
| 92 | + - uses: ./.github/actions/install/gtest |
| 93 | + - uses: ./.github/actions/install/wolfssl |
| 94 | + with: |
| 95 | + version: ${{ matrix.wolfssl.ref }} |
| 96 | + |
| 97 | + - name: configure |
| 98 | + run: cmake . -DJWT_BUILD_TESTS=ON -DJWT_SSL_LIBRARY:STRING=wolfSSL |
| 99 | + - run: make |
| 100 | + - name: test |
| 101 | + run: ./tests/jwt-cpp-test |
| 102 | + |
| 103 | + - if: github.event_name == 'push' && always() |
| 104 | + uses: ./.github/actions/badge |
| 105 | + with: |
| 106 | + category: wolfssl |
| 107 | + label: ${{ matrix.wolfssl.name }} |
0 commit comments