Skip to content

Commit

Permalink
ci: add step to install protoc in runner
Browse files Browse the repository at this point in the history
Signed-off-by: Sanskar Jaiswal <[email protected]>
  • Loading branch information
aryan9600 committed Jan 23, 2025
1 parent 1974151 commit b234b95
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,43 +14,41 @@ on:
jobs:
rust-build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rust-src, clippy, rustfmt
override: false

- name: Install bpf-linker
run: |
cargo install bpf-linker
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
version: "26.1"
repo-token: ${{ secrets.GITHUB_TOKEN }}

# TODO: Once we migrate the controller from Go to Rust,
# add the controller build step here.

- name: Build all rust crates (dataplane, test server)
run: |
make build
- name: Check formatting
run: |
make check.format
- name: Check clippy
run: |
make lint
- name: Run Tests
run: |
make test
docker-build:
name: docker-build
runs-on: ubuntu-22.04
Expand Down

0 comments on commit b234b95

Please sign in to comment.