mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-10 09:57:14 +00:00
Revert ".github/workflow: Use ubuntu-18.04 fixing missing protoc binary " (#2554)
* Revert ".github/workflow: Use ubuntu-18.04 fixing missing protoc binary (#2368)" * .github: Use llvm installation script
This commit is contained in:
parent
a30d93e34b
commit
ca9d53886d
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -9,7 +9,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
test-desktop:
|
test-desktop:
|
||||||
name: Build and test
|
name: Build and test
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
args: [
|
args: [
|
||||||
@ -34,7 +34,7 @@ jobs:
|
|||||||
|
|
||||||
test-wasm:
|
test-wasm:
|
||||||
name: Build on WASM
|
name: Build on WASM
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
toolchain: [
|
toolchain: [
|
||||||
@ -67,10 +67,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install a recent version of clang
|
- name: Install a recent version of clang
|
||||||
run: |
|
run: |
|
||||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
|
||||||
sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main"
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y clang-11
|
|
||||||
|
|
||||||
- name: Install CMake
|
- name: Install CMake
|
||||||
run: sudo apt-get install -y cmake
|
run: sudo apt-get install -y cmake
|
||||||
@ -86,7 +83,7 @@ jobs:
|
|||||||
|
|
||||||
check-rustdoc-links:
|
check-rustdoc-links:
|
||||||
name: Check rustdoc intra-doc links
|
name: Check rustdoc intra-doc links
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: rust
|
image: rust
|
||||||
steps:
|
steps:
|
||||||
@ -104,7 +101,7 @@ jobs:
|
|||||||
run: RUSTDOCFLAGS="--deny broken_intra_doc_links" cargo doc --verbose --workspace --no-deps --document-private-items --all-features
|
run: RUSTDOCFLAGS="--deny broken_intra_doc_links" cargo doc --verbose --workspace --no-deps --document-private-items --all-features
|
||||||
|
|
||||||
check-clippy:
|
check-clippy:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Cancel Previous Runs
|
- name: Cancel Previous Runs
|
||||||
@ -130,7 +127,7 @@ jobs:
|
|||||||
|
|
||||||
integration-test:
|
integration-test:
|
||||||
name: Integration tests
|
name: Integration tests
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: rust
|
image: rust
|
||||||
steps:
|
steps:
|
||||||
@ -148,7 +145,7 @@ jobs:
|
|||||||
run: RUST_LOG=libp2p_swarm=debug,libp2p_kad=trace,libp2p_tcp=debug cargo run --example ipfs-kad
|
run: RUST_LOG=libp2p_swarm=debug,libp2p_kad=trace,libp2p_tcp=debug cargo run --example ipfs-kad
|
||||||
|
|
||||||
rustfmt:
|
rustfmt:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Cancel Previous Runs
|
- name: Cancel Previous Runs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user