Files
irtt-rs/.gitea/workflows/interop-netem.yml
T
renovate Bot b6b2d7d69f
Rust CI / cargo fmt (pull_request) Successful in 21s
Rust CI / cargo clippy (pull_request) Successful in 44s
Rust CI / cargo check (x86_64-unknown-linux-gnu) (pull_request) Successful in 43s
Rust CI / cargo test (x86_64-unknown-linux-gnu) (pull_request) Successful in 1m32s
Rust CI / cargo check (x86_64-unknown-linux-musl) (pull_request) Successful in 40s
Rust CI / cargo doc (pull_request) Successful in 23s
Rust CI / cargo test (x86_64-unknown-linux-musl) (pull_request) Successful in 1m32s
Proto Fuzz Smoke / cargo fuzz smoke (pull_request) Failing after 35s
Supply chain / cargo-deny advisories (pull_request) Successful in 6s
Netem Interop / netem interop (pull_request) Successful in 1m19s
Supply chain / cargo-deny bans licenses sources (pull_request) Successful in 7s
Supply chain / actionlint (pull_request) Successful in 3s
chore(deps): update github actions to v2
2026-09-13 18:07:44 +00:00

77 lines
2.0 KiB
YAML

name: Netem Interop
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
GOBIN: ${{ github.workspace }}/.tools/bin
IRTT_UPSTREAM_VERSION: v0.9.1
jobs:
netem:
name: netem interop
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2
with:
cache: false
- name: Check host tools and network administration access
run: |
ip -V
tc -V
go version
sudo -n true
- name: Install upstream irtt
run: |
mkdir -p "$GOBIN"
go install "github.com/heistp/irtt/cmd/irtt@${IRTT_UPSTREAM_VERSION}"
"$GOBIN/irtt" version
- name: Build irtt-rs client
run: cargo build -p irtt-rs --bin irtt-client --locked
- name: Run netem interop comparisons
run: |
python3 scripts/run_netem_interop_ci.py \
--all \
--skip-build \
--upstream-irtt "$GOBIN/irtt" \
--irtt-rs-command "$PWD/target/debug/irtt-client"
- name: Append netem interop summary
if: always()
run: |
latest_summary="$(find target/interop-netem -mindepth 2 -maxdepth 2 -name github-step-summary.md -type f -print 2>/dev/null | sort | tail -n 1)"
if [ -n "$latest_summary" ]; then
cat "$latest_summary" >> "$GITEA_STEP_SUMMARY"
else
echo "No netem interop github-step-summary.md found." >> "$GITEA_STEP_SUMMARY"
fi
- name: Upload netem interop artifacts
if: always()
uses: https://gitea.com/actions/gitea-upload-artifact@v7
with:
name: interop-netem
path: target/interop-netem