Skip to content

Commit

Permalink
XXX install dependencies with apt-get
Browse files Browse the repository at this point in the history
  • Loading branch information
Twey committed Jan 9, 2024
1 parent ce8da99 commit b17d8b3
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
image: rust:1.75.0-bookworm
timeout-minutes: 45
steps:
- name: Install dependencies
run: |
apt-get update
apt-get install -y clang npm pkg-config protobuf-compiler
- uses: actions/checkout@v3
- uses: Twey/setup-rust-toolchain@v1
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build example applications
run: |
cd examples
Expand Down Expand Up @@ -83,11 +83,12 @@ jobs:
cargo test --locked --target x86_64-unknown-linux-gnu
- name: Run Witty integration tests
run: |
cargo build -p linera-witty-test-modules --target wasm32-unknown-unknown
cargo test -p linera-witty --features wasmer,wasmtime
cargo build --locked -p linera-witty-test-modules --target wasm32-unknown-unknown
cargo test --locked -p linera-witty --features wasmer,wasmtime
- name: Check for outdated CLI.md
shell: bash
run: |
if ! diff CLI.md <(cargo run --bin linera -- help-markdown)
if ! diff CLI.md <(./target/debug/linera help-markdown)
then
echo '`CLI.md` differs from the output of `linera help-markdown`'
echo 'Run `linera help-markdown > CLI.md` to update it.'
Expand Down

0 comments on commit b17d8b3

Please sign in to comment.