Skip to content

Bump debian from buster-20210511 to buster-20240612 in /docker/client #2656

Bump debian from buster-20210511 to buster-20240612 in /docker/client

Bump debian from buster-20210511 to buster-20240612 in /docker/client #2656

Workflow file for this run

name: CI
on:
push:
branches: [ main, ci, v5 ]
pull_request:
branches: [ main, 'release**', v5 ]
jobs:
functional:
name: Functional Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
path: |
~/.cargo/registry
~/.cargo/git
target
./target_test
key: ${{ runner.os }}-cache2-func-${{ hashFiles('**/Cargo.lock') }}
- name: Install Rust
uses: actions-rs/[email protected]
with:
toolchain: 1.52.1
override: true
components: rustfmt, clippy
- name: Install deps
run: sudo apt-get install -y lld
- name: check version
run: rustc -V
- name: Build stdlib
run: cd language/diem-framework && cargo run --release
- name: Run 0L functional tests
run: cd language/move-lang/functional-tests && NODE_ENV=test cargo test 0L
tools:
name: 0L tools Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
path: |
~/.cargo/registry
~/.cargo/git
target
./target_test
key: ${{ runner.os }}-cache2-miner-${{ hashFiles('**/Cargo.lock') }}
- name: Install deps
run: sudo apt-get install -y lld
- name: Install Rust
uses: actions-rs/[email protected]
with:
toolchain: 1.52.1
override: true
components: rustfmt, clippy
- name: miner tests
run: cd ol/miner && NODE_ENV=test cargo test
- name: types tests
run: cd ol/types && NODE_ENV=test cargo test
- name: txs tests
run: cd ol/txs && NODE_ENV=test cargo test
- name: keys tests
run: cd ol/keys && NODE_ENV=test cargo test
e2e:
name: E2E Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
path: |
~/.cargo/registry
~/.cargo/git
target
./target_test
key: ${{ runner.os }}-cache2-miner-${{ hashFiles('**/Cargo.lock') }}
- name: Install deps
run: sudo apt-get install -y lld
- name: Install Rust
uses: actions-rs/[email protected]
with:
toolchain: 1.52.1
override: true
components: rustfmt, clippy
- name: Create foo_stdlib.mv fixtures
run: SOURCE_PATH=./ make -f ol/fixtures/upgrade_payload/make-e2e-upgrade-fixtures.mk fixtures
- name: Build stdlib
run: cd language/diem-framework && cargo run --release
- name: Run 0L e2e tests
run: cd language/e2e-testsuite && NODE_ENV=test cargo test ol_
# genesis_smoke:
# name: Genesis Smoke Test
# runs-on: ubuntu-latest
# # needs: compile
# steps:
# - uses: actions/checkout@v2
# # Uses the cache done in the parent job (compile) with the same "key"
# - uses: actions/[email protected]
# with:
# path: |
# ~/.cargo/registry
# ~/.cargo/git
# target
# key: ${{ runner.os }}-test-genesis-smoke-${{ hashFiles('**/Cargo.lock') }}
# - name: Run smoke test
# run: cargo xtest -p libra-management smoke_test
# swarm_acceptance:
# name: Swarm Acceptance Test
# runs-on: ubuntu-latest
# # needs: compile
# steps:
# - uses: actions/checkout@v2
# # Uses the cache done in the parent job (compile) with the same "key"
# - uses: actions/[email protected]
# with:
# path: |
# ~/.cargo/registry
# ~/.cargo/git
# target
# key: ${{ runner.os }}-test-swarm-${{ hashFiles('**/Cargo.lock') }}
# - name: Start swarm & grep logs
# run: chmod +x 0L_swarm_test.sh && ./0L_swarm_test.sh
#
# compile:
# name: Compile and Cache
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# # Sets up a cache to be used on other subsequent jobs.
# # subsequent jobs must use the "needs" field and reference this job.id "compile".
# - uses: actions/[email protected]
# with:
# path: |
# ~/.cargo/registry
# ~/.cargo/git
# target
# # A cache "key" is created from a hash of the cargo.lock.
# key: ${{ runner.os }}-test-compile-${{ hashFiles('**/Cargo.lock') }}
#
# - name: Install latest nightly
# uses: actions-rs/[email protected]
# with:
# toolchain: nightly
# override: true
# components: rustfmt, clippy
#
# # Note: build all binaries is too heavy for testing the CI flow.
# # implement when caching is consistent.
# - name: Build stdlib
# run: cd language/stdlib && cargo run --release
# - name: Build all binaries
# run: cargo build --all --bins --exclude cluster-test