mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-29 14:15:33 -08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: Regressions
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
checks: write
|
|
contents: read
|
|
|
|
jobs:
|
|
multi-peer:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: cargo build --bin rosenpass --release
|
|
- run: python misc/generate_configs.py
|
|
- run: chmod +x .ci/run-regression.sh
|
|
- run: .ci/run-regression.sh 100 20
|
|
- run: |
|
|
[ $(ls -1 output/ate/out | wc -l) -eq 100 ]
|
|
|
|
boot-race:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: cargo build --bin rosenpass --release
|
|
- run: chmod +x .ci/boot_race/run.sh
|
|
- run: cargo run --release --bin rosenpass gen-keys .ci/boot_race/a.toml
|
|
- run: cargo run --release --bin rosenpass gen-keys .ci/boot_race/b.toml
|
|
- run: .ci/boot_race/run.sh 5 2 .ci/boot_race/a.toml .ci/boot_race/b.toml
|
|
- run: .ci/boot_race/run.sh 5 1 .ci/boot_race/a.toml .ci/boot_race/b.toml
|
|
- run: .ci/boot_race/run.sh 5 0 .ci/boot_race/a.toml .ci/boot_race/b.toml
|