Skip to content

Commit

Permalink
Install protoc
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoPonzi committed Aug 23, 2023
1 parent 8975ed6 commit 640f413
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
components: rustfmt
profile: minimal
override: true

- name: cargo fmt -- --check
uses: actions-rs/cargo@v1
with:
Expand All @@ -38,13 +37,10 @@ jobs:

strategy:
matrix:
build: [stable, beta, nightly]
build: [stable, beta]
include:
- build: beta
rust: beta
- build: nightly
rust: nightly
benches: true

steps:
- name: Checkout
Expand All @@ -57,12 +53,16 @@ jobs:
profile: minimal
override: true

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler

- name: Build debug
uses: actions-rs/cargo@v1
with:
command: build
args: ${{ matrix.features }}

- name: Create /var/run/horust directory
run: sudo mkdir -p /var/run/horust && sudo chmod 777 /var/run/horust
- name: Test
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -111,6 +111,9 @@ jobs:
override: true
target: ${{ matrix.target }}

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler

- name: Build target
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 640f413

Please sign in to comment.