Add Montgomery Reduction and Barrett Reduction from CROSS #464
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: Build and Test | |
| permissions: read-all | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| runs-on: | |
| labels: ubuntu-22.04-16core | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # pin@v3 | |
| - name: Cache bazel build artifacts | |
| uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # pin@v4.2.0 | |
| with: | |
| path: | | |
| ~/.cache/bazel | |
| key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'requirements_dev.txt') }} | |
| - name: "Run `bazel build`" | |
| run: | | |
| bazel build //... | |
| - name: "Run `bazel test`" | |
| run: | | |
| bazel test \ | |
| --test_output=errors \ | |
| --test_size_filters=small \ | |
| --test_timeout=1800 \ | |
| --experimental_ui_max_stdouterr_bytes=10485760 \ | |
| //... |