Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed Aug 22, 2024
1 parent d82d8bb commit 70a231e
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,40 @@ jobs:
env:
GRPC_IMAGE_NAME: ${{ needs.set-image-name.outputs.name }}

rust_wtx_bench:
runs-on: ubuntu-latest
needs:
- set-image-name
- changed
if: fromJSON(needs.changed.outputs.base) || contains(needs.changed.outputs.files, 'rust_wtx_bench/')
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build rust_wtx_bench
run: ./build.sh rust_wtx_bench
env:
GRPC_IMAGE_NAME: ${{ needs.set-image-name.outputs.name }}

- name: Benchmark rust_wtx_bench
run: ./bench.sh rust_wtx_bench
env:
GRPC_BENCHMARK_DURATION: 30s
GRPC_IMAGE_NAME: ${{ needs.set-image-name.outputs.name }}

- if: github.ref == 'refs/heads/master'
name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- if: github.ref == 'refs/heads/master'
name: If on master push image to GHCR
run: docker push $GRPC_IMAGE_NAME:rust_wtx_bench-complex_proto
env:
GRPC_IMAGE_NAME: ${{ needs.set-image-name.outputs.name }}

scala_akka_bench:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 70a231e

Please sign in to comment.