| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 42b27ed commit 094fb84
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,71 @@ | |||
| 1 | + name: Test Linux (with QUIC) | ||
| 2 | + | ||
| 3 | + on: | ||
| 4 | + workflow_dispatch: | ||
| 5 | + pull_request: | ||
| 6 | + paths: | ||
| 7 | + - .github/workflows/test-linux-quic.yml | ||
| 8 | + - configure.py | ||
| 9 | + - node.gyp | ||
| 10 | + - node.gypi | ||
| 11 | + - deps/ngtcp2/** | ||
| 12 | + - deps/nghttp3/** | ||
| 13 | + - deps/openssl/** | ||
| 14 | + - src/quic/** | ||
| 15 | + - src/node_bob* | ||
| 16 | + - lib/quic.js | ||
| 17 | + - lib/http3.js | ||
| 18 | + - lib/internal/quic/** | ||
| 19 | + - lib/stream/iter.js | ||
| 20 | + - lib/internal/streams/iter/** | ||
| 21 | + - test/cctest/test_quic_* | ||
| 22 | + - test/common/quic* | ||
| 23 | + - test/common/quic/** | ||
| 24 | + - test/parallel/*quic* | ||
| 25 | + - test/parallel/test-stream-iter-* | ||
| 26 | + types: [opened, synchronize, reopened, ready_for_review] | ||
| 27 | + | ||
| 28 | + concurrency: | ||
| 29 | + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
| 30 | + cancel-in-progress: true | ||
| 31 | + | ||
| 32 | + env: | ||
| 33 | + PYTHON_VERSION: '3.14' | ||
| 34 | + FLAKY_TESTS: keep_retrying | ||
| 35 | + CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang | ||
| 36 | + CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++ | ||
| 37 | + SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }} | ||
| 38 | + SCCACHE_IDLE_TIMEOUT: '0' | ||
| 39 | + | ||
| 40 | + permissions: | ||
| 41 | + contents: read | ||
| 42 | + | ||
| 43 | + jobs: | ||
| 44 | + test-quic: | ||
| 45 | + if: github.event.pull_request.draft == false | ||
| 46 | + runs-on: ubuntu-24.04-arm | ||
| 47 | + steps: | ||
| 48 | + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | ||
| 49 | + with: | ||
| 50 | + persist-credentials: false | ||
| 51 | + path: node | ||
| 52 | + - name: Set up Python ${{ env.PYTHON_VERSION }} | ||
| 53 | + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | ||
| 54 | + with: | ||
| 55 | + python-version: ${{ env.PYTHON_VERSION }} | ||
| 56 | + - name: Set up sccache | ||
| 57 | + if: github.base_ref == 'main' || github.ref_name == 'main' | ||
| 58 | + uses: Mozilla-Actions/sccache-action@9e7fa8a12102821edf02ca5dbea1acd0f89a2696 # v0.0.10 | ||
| 59 | + with: | ||
| 60 | + version: v0.12.0 | ||
| 61 | + - name: Environment Information | ||
| 62 | + run: npx envinfo | ||
| 63 | + - name: Build | ||
| 64 | + working-directory: node | ||
| 65 | + run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --experimental-quic" | ||
| 66 | + - name: Test | ||
| 67 | + working-directory: node | ||
| 68 | + run: make test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9" | ||
| 69 | + - name: Ensure running tests did not cause any change in the tree | ||
| 70 | + working-directory: node | ||
| 71 | + run: git add -A && git diff --name-only --exit-code --staged | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments