Prover performance: batch/endomorphism MSM, CIOS wasm, batching modes #425
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Continuous Integration | |
| # Least privilege: no job needs write access to the repository. | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Test | |
| timeout-minutes: 20 | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| node-version: [lts/*, lts/-1, lts/-2] | |
| steps: | |
| - name: Checkout project | |
| uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 | |
| with: | |
| # no job pushes: never persist the GITHUB_TOKEN into .git/config | |
| persist-credentials: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| check-latest: true | |
| cache: 'npm' | |
| - name: Install dependencies | |
| timeout-minutes: 10 | |
| run: npm ci --ignore-scripts | |
| - name: Verify registry signatures and provenance attestations | |
| run: npm audit signatures | |
| - name: Run tests | |
| # step-level timeout (cross-platform; shell `timeout` does not exist | |
| # on the macOS/Windows runners): a hang here means a real | |
| # teardown/termination bug (see the fsqrt c=0 hang, d99c27b) and | |
| # should fail loudly rather than burn the 6h Actions limit | |
| timeout-minutes: 12 | |
| run: npm test |