Skip to content

Commit

Permalink
Install protoc in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Sep 21, 2023
1 parent 6926715 commit 72abb74
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
name: Check
runs-on: ubuntu-latest
steps:
- uses: arduino/setup-protoc@v2
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo check --workspace --all-features
Expand Down Expand Up @@ -42,6 +45,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
Expand Down Expand Up @@ -86,6 +91,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
Expand All @@ -95,7 +102,10 @@ jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: arduino/setup-protoc@v2
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@master
with:
components: clippy
Expand All @@ -111,6 +121,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -177,6 +189,8 @@ jobs:
name: Install opencl
run: vcpkg install opencl
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
Expand Down

0 comments on commit 72abb74

Please sign in to comment.