diff --git a/.github/workflows/cargo.yml b/.github/workflows/cargo.yml index 13f6428b..82781bcf 100644 --- a/.github/workflows/cargo.yml +++ b/.github/workflows/cargo.yml @@ -139,6 +139,28 @@ jobs: name: binaries path: install + # Smoke tests are even more expensive, so they run last. + smoketest: + name: smoketest + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/setup-rust + - uses: Swatinem/rust-cache@v2 + with: + shared-key: smoketest-ubuntu-latest + - name: install memcached + shell: bash + run: | + sudo apt-get update + sudo apt-get install memcached + - name: build + shell: bash + run: | + cargo build --workspace --all-features --all-targets --locked --release + memcached -t 1 -p 11211 -m 256 & + target/release/rpc-perf config/memcached.toml + check-success: name: verify all tests pass runs-on: ubuntu-latest @@ -149,6 +171,7 @@ jobs: - clippy - clippy-upload - audit + - smoketest steps: - name: no-op