[cryptography/stream] Version SAKE and bind identities before signing #9023
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: Loom | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| merge_group: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: tests-loom-${{ github.head_ref || github.ref_name || github.run_id }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| Tests: | |
| name: "Tests${{ matrix.flags && format(' (flags: \"{0}\")', matrix.flags) }} (partition: ${{ matrix.partition }})" | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| strategy: | |
| matrix: | |
| include: | |
| - flags: "" | |
| partition: "1/1" | |
| - flags: "--features iouring" | |
| partition: "1/5" | |
| - flags: "--features iouring" | |
| partition: "2/5" | |
| - flags: "--features iouring" | |
| partition: "3/5" | |
| - flags: "--features iouring" | |
| partition: "4/5" | |
| - flags: "--features iouring" | |
| partition: "5/5" | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4 | |
| - name: Configure swap | |
| uses: ./.github/actions/swap | |
| - name: Clear disk space | |
| uses: ./.github/actions/disk | |
| - name: Run setup | |
| uses: ./.github/actions/setup | |
| with: | |
| additional-cache-key: ${{ matrix.flags || 'default' }} | |
| rust-cache-save: ${{ startsWith(matrix.partition, '1/') }} | |
| sccache-r2-bucket: ${{ secrets.SCCACHE_R2_BUCKET }} | |
| sccache-r2-endpoint: ${{ secrets.SCCACHE_R2_ENDPOINT }} | |
| sccache-r2-access-key-id: ${{ secrets.SCCACHE_R2_ACCESS_KEY_ID }} | |
| sccache-r2-secret-access-key: ${{ secrets.SCCACHE_R2_SECRET_ACCESS_KEY }} | |
| - name: Install just & nextest | |
| uses: taiki-e/install-action@43aecc8d72668fbcfe75c31400bc4f890f1c5853 # v2.83.2 | |
| with: | |
| tool: just@1.43.0,cargo-nextest@0.9.133 | |
| - name: Run loom tests | |
| run: just test-loom ${{ matrix.flags }} --partition hash:${{ matrix.partition }} --verbose |