|
32 | 32 | sudo apt-get install --yes clang libssl-dev pkg-config |
33 | 33 | - name: Fetch and verify the pinned conformance corpus |
34 | 34 | working-directory: credbind-cpp |
35 | | - run: make fixtures test-fixtures |
| 35 | + env: |
| 36 | + GH_TOKEN: ${{ secrets.CREDBIND_CROSS_REPO_READ_TOKEN }} |
| 37 | + run: | |
| 38 | + test -n "$GH_TOKEN" || { echo "CREDBIND_CROSS_REPO_READ_TOKEN must grant read-only access to credbind/spec" >&2; exit 1; } |
| 39 | + artifact="$RUNNER_TEMP/credbind-ssh-v1-conformance-v1.0.0-rc.2.tar.gz" |
| 40 | + trap 'rm -f "$artifact"' EXIT |
| 41 | + gh release download v1.0.0-rc.2 --repo credbind/spec \ |
| 42 | + --pattern credbind-ssh-v1-conformance-v1.0.0-rc.2.tar.gz --output "$artifact" |
| 43 | + CREDBIND_FIXTURE_SOURCE="$artifact" make fixtures test-fixtures |
36 | 44 | - name: Run strict deterministic and sanitizer gates |
37 | 45 | working-directory: credbind-cpp |
38 | 46 | env: |
|
58 | 66 | run: echo "PKG_CONFIG_PATH=$(brew --prefix openssl@3)/lib/pkgconfig" >> "$GITHUB_ENV" |
59 | 67 | - name: Fetch and verify the pinned conformance corpus |
60 | 68 | working-directory: credbind-cpp |
61 | | - run: make fixtures test-fixtures |
| 69 | + env: |
| 70 | + GH_TOKEN: ${{ secrets.CREDBIND_CROSS_REPO_READ_TOKEN }} |
| 71 | + run: | |
| 72 | + test -n "$GH_TOKEN" || { echo "CREDBIND_CROSS_REPO_READ_TOKEN must grant read-only access to credbind/spec" >&2; exit 1; } |
| 73 | + artifact="$RUNNER_TEMP/credbind-ssh-v1-conformance-v1.0.0-rc.2.tar.gz" |
| 74 | + trap 'rm -f "$artifact"' EXIT |
| 75 | + gh release download v1.0.0-rc.2 --repo credbind/spec \ |
| 76 | + --pattern credbind-ssh-v1-conformance-v1.0.0-rc.2.tar.gz --output "$artifact" |
| 77 | + CREDBIND_FIXTURE_SOURCE="$artifact" make fixtures test-fixtures |
62 | 78 | - name: Run strict, sanitizer and fuzz gates |
63 | 79 | working-directory: credbind-cpp |
64 | 80 | run: make check test-readme test-sanitize test-fuzz-smoke |
0 commit comments