Skip to content

Commit

Permalink
protoc isn't needed by libp2p anymore
Browse files Browse the repository at this point in the history
Hasn't been needed since libp2p 0.51.1.

libp2p/rust-libp2p#3312
  • Loading branch information
hrxi committed May 3, 2024
1 parent ba0179f commit ce8530c
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 22 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build+test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
toolchain: stable
components: llvm-tools-preview
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Install cargo-nextest
run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
# Coverage is disabled for now since at the moment it has a considerable performance impact in the CI
Expand Down Expand Up @@ -80,8 +78,6 @@ jobs:
toolchain: stable
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- uses: actions-rs/clippy-check@v1
with:
name: Clippy Report
Expand Down Expand Up @@ -111,8 +107,6 @@ jobs:
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Install wasm-pack
run: cargo install wasm-pack
- name: Compile to wasm and generate bindings
Expand All @@ -137,8 +131,6 @@ jobs:
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Build the code
run: cargo build
- name: Executes the 4 validators reconnecting scenario
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/build_crate_features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Set up python
uses: actions/setup-python@v5
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ jobs:
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Remove possible stale artifacts
run: cargo llvm-cov clean --workspace
- name: Disk Space
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/devnet_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Optionally patch the source
run: ${{ matrix.pre }}
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Build the code
run: cargo build --release
- name: Retrieve initial timestamp
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/devnet_scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Optionally patch the source
run: ${{ matrix.pre }}
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Build the code
run: cargo build
- name: Retrieve initial timestamp
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/github_release_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install protoc
run: |
sudo apt-get update && sudo apt-get install -y protobuf-compiler
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
toolchain: stable
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- uses: jetli/wasm-bindgen-action@v0.2.0
with:
version: 'latest'
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ the following packages are required to be able to compile the source code:
- `cmake`
- `libssl-dev` (in Debian/Ubuntu) or `openssl-devel` (in Fedora/Red Hat)
- `pkg-config`
- `protobuf-compiler`

After installing the previous packages, compiling the project is achieved through [`cargo`](https://doc.rust-lang.org/cargo/):

Expand Down

0 comments on commit ce8530c

Please sign in to comment.