|
15 | 15 | CMAKE_TOOLCHAIN_FILE: ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
|
16 | 16 |
|
17 | 17 | jobs:
|
18 |
| - formatting-check: |
19 |
| - name: Formatting Check |
20 |
| - runs-on: ubuntu-latest |
21 |
| - steps: |
22 |
| - - uses: actions/checkout@v4 |
23 |
| - |
24 |
| - - name: Run clang-format style check for C/C++ programs |
25 |
| - |
26 |
| - with: |
27 |
| - clang-format-version: 16 |
28 |
| - include-regex: '^\./(src|include|test|cmd)/.*\.(cpp|h)$' |
29 |
| - fallback-style: 'Mozilla' |
| 18 | +# formatting-check: |
| 19 | +# name: Formatting Check |
| 20 | +# runs-on: ubuntu-latest |
| 21 | +# steps: |
| 22 | +# - uses: actions/checkout@v4 |
| 23 | +# |
| 24 | +# - name: Run clang-format style check for C/C++ programs |
| 25 | +# uses: jidicula/[email protected] |
| 26 | +# with: |
| 27 | +# clang-format-version: 16 |
| 28 | +# include-regex: '^\./(src|include|test|cmd)/.*\.(cpp|h)$' |
| 29 | +# fallback-style: 'Mozilla' |
30 | 30 |
|
31 | 31 | build-and-unit-test:
|
32 |
| - needs: formatting-check |
| 32 | +# needs: formatting-check |
33 | 33 | name: Build and test
|
34 | 34 | runs-on: ${{ matrix.os }}
|
35 | 35 | strategy:
|
36 | 36 | matrix:
|
37 |
| - os: [windows-latest, ubuntu-latest, macos-latest] |
38 |
| - crypto: [openssl_1.1, openssl_3, boringssl] |
| 37 | + os: [windows-latest] #, ubuntu-latest, macos-latest] |
| 38 | + crypto: [openssl_1.1] #, openssl_3, boringssl] |
39 | 39 |
|
40 | 40 | env:
|
41 | 41 | BUILD_DIR: "${RUNNER_TEMP}/build_${{ matrix.crypto }}"
|
@@ -68,85 +68,85 @@ jobs:
|
68 | 68 | # doctest_discover_tests to fail when tests are built with sanitizers. On the
|
69 | 69 | # other hand, if tests are not built with sanitizers, then the unit tests hang
|
70 | 70 | # in the middle of the test run.
|
71 |
| -# |
72 |
| -# - name: Unit Test (Windows) |
73 |
| -# if: matrix.os == 'windows-latest' |
74 |
| -# run: | |
75 |
| -# cmake --build "${{ env.BUILD_DIR }}" --target RUN_TESTS |
76 |
| - |
77 |
| - interop-test: |
78 |
| - if: github.event.pull_request.draft == false |
79 |
| - needs: build-and-unit-test |
80 |
| - name: Interop test |
81 |
| - runs-on: ubuntu-latest |
82 |
| - |
83 |
| - env: |
84 |
| - BUILD_DIR: "${RUNNER_TEMP}/build_openssl_1.1" |
85 |
| - CRYPTO_DIR: "./alternatives/openssl_1.1" |
86 |
| - |
87 |
| - steps: |
88 |
| - - uses: actions/checkout@v4 |
89 |
| - with: |
90 |
| - submodules: recursive |
91 |
| - fetch-depth: 0 |
92 |
| - |
93 |
| - - uses: ./.github/actions/prepare-build |
94 |
| - with: |
95 |
| - os: ubuntu-latest |
96 |
| - crypto-dir: openssl_1.1 |
97 |
| - cache-dir: ${{ github.workspace }}/vcpkg_cache |
98 |
| - |
99 |
| - - name: Build |
100 |
| - run: | |
101 |
| - cmake -B "${{ env.BUILD_DIR }}" -DVCPKG_MANIFEST_DIR="${{ env.CRYPTO_DIR }}" |
102 |
| - cmake --build "${{ env.BUILD_DIR }}" |
103 |
| -
|
104 |
| - - name: Build (Interop Harness) |
105 |
| - run: | |
106 |
| - cd cmd/interop |
107 |
| - cmake -B build |
108 |
| - cmake --build build |
109 |
| -
|
110 |
| - - name: Test self-interop |
111 |
| - run: | |
112 |
| - make -C cmd/interop self-test |
113 |
| -
|
114 |
| - - name: Test interop on test vectors |
115 |
| - run: | |
116 |
| - make -C cmd/interop interop-test |
117 |
| -
|
118 |
| - - name: Test gRPC live interop with self |
119 |
| - run: | |
120 |
| - cd cmd/interop |
121 |
| - ./grpc-self-test.sh |
122 |
| -
|
123 |
| - clang-tidy: |
124 |
| - if: github.event.pull_request.draft == false |
125 |
| - needs: build-and-unit-test |
126 |
| - name: Build with clang-tidy |
127 |
| - runs-on: ubuntu-latest |
128 |
| - strategy: |
129 |
| - matrix: |
130 |
| - crypto: [openssl_1.1, openssl_3, boringssl] |
131 | 71 |
|
132 |
| - env: |
133 |
| - BUILD_DIR: "${RUNNER_TEMP}/build_${{ matrix.crypto }}" |
134 |
| - CRYPTO_DIR: "./alternatives/${{ matrix.crypto }}" |
135 |
| - |
136 |
| - steps: |
137 |
| - - uses: actions/checkout@v4 |
138 |
| - with: |
139 |
| - submodules: recursive |
140 |
| - fetch-depth: 0 |
141 |
| - |
142 |
| - - uses: ./.github/actions/prepare-build |
143 |
| - with: |
144 |
| - os: ubuntu-latest |
145 |
| - crypto: matrix.crypto |
146 |
| - cache-dir: ${{ github.workspace }}/vcpkg_cache |
147 |
| - |
148 |
| - - name: Build with clang-tidy |
| 72 | + - name: Unit Test (Windows) |
| 73 | + if: matrix.os == 'windows-latest' |
149 | 74 | run: |
|
150 |
| - cmake -B "${{ env.BUILD_DIR }}" -DVCPKG_MANIFEST_DIR="${{ env.CRYPTO_DIR }}" \ |
151 |
| - -DTESTING=ON -DCLANG_TIDY=ON -DSANITIZERS=ON |
152 |
| - cmake --build "${{ env.BUILD_DIR }}" |
| 75 | + cmake --build "${{ env.BUILD_DIR }}" --target RUN_TESTS |
| 76 | + |
| 77 | +# interop-test: |
| 78 | +# if: github.event.pull_request.draft == false |
| 79 | +# needs: build-and-unit-test |
| 80 | +# name: Interop test |
| 81 | +# runs-on: ubuntu-latest |
| 82 | +# |
| 83 | +# env: |
| 84 | +# BUILD_DIR: "${RUNNER_TEMP}/build_openssl_1.1" |
| 85 | +# CRYPTO_DIR: "./alternatives/openssl_1.1" |
| 86 | +# |
| 87 | +# steps: |
| 88 | +# - uses: actions/checkout@v4 |
| 89 | +# with: |
| 90 | +# submodules: recursive |
| 91 | +# fetch-depth: 0 |
| 92 | +# |
| 93 | +# - uses: ./.github/actions/prepare-build |
| 94 | +# with: |
| 95 | +# os: ubuntu-latest |
| 96 | +# crypto-dir: openssl_1.1 |
| 97 | +# cache-dir: ${{ github.workspace }}/vcpkg_cache |
| 98 | +# |
| 99 | +# - name: Build |
| 100 | +# run: | |
| 101 | +# cmake -B "${{ env.BUILD_DIR }}" -DVCPKG_MANIFEST_DIR="${{ env.CRYPTO_DIR }}" |
| 102 | +# cmake --build "${{ env.BUILD_DIR }}" |
| 103 | +# |
| 104 | +# - name: Build (Interop Harness) |
| 105 | +# run: | |
| 106 | +# cd cmd/interop |
| 107 | +# cmake -B build |
| 108 | +# cmake --build build |
| 109 | +# |
| 110 | +# - name: Test self-interop |
| 111 | +# run: | |
| 112 | +# make -C cmd/interop self-test |
| 113 | +# |
| 114 | +# - name: Test interop on test vectors |
| 115 | +# run: | |
| 116 | +# make -C cmd/interop interop-test |
| 117 | +# |
| 118 | +# - name: Test gRPC live interop with self |
| 119 | +# run: | |
| 120 | +# cd cmd/interop |
| 121 | +# ./grpc-self-test.sh |
| 122 | +# |
| 123 | +# clang-tidy: |
| 124 | +# if: github.event.pull_request.draft == false |
| 125 | +# needs: build-and-unit-test |
| 126 | +# name: Build with clang-tidy |
| 127 | +# runs-on: ubuntu-latest |
| 128 | +# strategy: |
| 129 | +# matrix: |
| 130 | +# crypto: [openssl_1.1, openssl_3, boringssl] |
| 131 | +# |
| 132 | +# env: |
| 133 | +# BUILD_DIR: "${RUNNER_TEMP}/build_${{ matrix.crypto }}" |
| 134 | +# CRYPTO_DIR: "./alternatives/${{ matrix.crypto }}" |
| 135 | +# |
| 136 | +# steps: |
| 137 | +# - uses: actions/checkout@v4 |
| 138 | +# with: |
| 139 | +# submodules: recursive |
| 140 | +# fetch-depth: 0 |
| 141 | +# |
| 142 | +# - uses: ./.github/actions/prepare-build |
| 143 | +# with: |
| 144 | +# os: ubuntu-latest |
| 145 | +# crypto: matrix.crypto |
| 146 | +# cache-dir: ${{ github.workspace }}/vcpkg_cache |
| 147 | +# |
| 148 | +# - name: Build with clang-tidy |
| 149 | +# run: | |
| 150 | +# cmake -B "${{ env.BUILD_DIR }}" -DVCPKG_MANIFEST_DIR="${{ env.CRYPTO_DIR }}" \ |
| 151 | +# -DTESTING=ON -DCLANG_TIDY=ON -DSANITIZERS=ON |
| 152 | +# cmake --build "${{ env.BUILD_DIR }}" |
0 commit comments