mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-05-23 01:59:44 +00:00
fix: ci test 7
This commit is contained in:
parent
765ad6e60b
commit
b249a50a34
53
.github/workflows/ci.yml
vendored
53
.github/workflows/ci.yml
vendored
@ -72,38 +72,23 @@ jobs:
|
|||||||
run: chmod 777 ./ci_scripts/lint-ubuntu.sh && ./ci_scripts/lint-ubuntu.sh
|
run: chmod 777 ./ci_scripts/lint-ubuntu.sh && ./ci_scripts/lint-ubuntu.sh
|
||||||
|
|
||||||
|
|
||||||
# test:
|
test:
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# platform: [ ubuntu-latest ]
|
platform: [ ubuntu-latest ]
|
||||||
# runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
# timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
|
||||||
# name: test - ${{ matrix.crate }} - ${{ matrix.platform }}
|
name: test - ${{ matrix.crate }} - ${{ matrix.platform }}
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout sources
|
- name: Checkout sources
|
||||||
# uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
# - name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
# uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
# with:
|
with:
|
||||||
# profile: minimal
|
profile: minimal
|
||||||
# toolchain: nightly
|
toolchain: nightly
|
||||||
# override: true
|
override: true
|
||||||
# - uses: Swatinem/rust-cache@v2
|
- name: test ubuntu-latest
|
||||||
# - name: install risc0
|
if: success() || failure()
|
||||||
# if: success() || failure()
|
run: chmod 777 ./ci_scripts/test-ubuntu.sh && ./ci_scripts/test-ubuntu.sh
|
||||||
# run: |
|
|
||||||
# curl -L https://risczero.com/install | bash
|
|
||||||
# - name: install risc0 step 2
|
|
||||||
# if: success() || failure()
|
|
||||||
# run: |
|
|
||||||
# source /home/runner/.bashrc && rzup install && source /home/runner/.bashrc
|
|
||||||
# - name: test mempool
|
|
||||||
# if: success() || failure()
|
|
||||||
# run: cargo test -p mempool
|
|
||||||
# - name: test storage
|
|
||||||
# if: success() || failure()
|
|
||||||
# run: cargo test -p storage
|
|
||||||
# - name: test zkvm
|
|
||||||
# if: success() || failure()
|
|
||||||
# run: cargo test -p zkvm
|
|
||||||
|
|||||||
@ -5,45 +5,4 @@ curl -L https://risczero.com/install | bash
|
|||||||
cargo install taplo-cli --locked
|
cargo install taplo-cli --locked
|
||||||
|
|
||||||
cargo fmt -- --check
|
cargo fmt -- --check
|
||||||
|
|
||||||
cd accounts
|
|
||||||
cargo clippy --release -- -D warnings
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd consensus
|
|
||||||
cargo clippy --release -- -D warnings
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd mempool
|
|
||||||
cargo clippy --release -- -D warnings
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd networking
|
|
||||||
cargo clippy --release -- -D warnings
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd rpc_primitives
|
|
||||||
cargo clippy --release -- -D warnings
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd sequencer_core
|
|
||||||
cargo clippy --release -- -D warnings
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd sequencer_rpc
|
|
||||||
cargo clippy --release -- -D warnings
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd sequencer_runner
|
|
||||||
cargo clippy --release -- -D warnings
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd storage
|
|
||||||
cargo clippy --release -- -D warnings
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd utxo
|
|
||||||
cargo clippy --release -- -D warnings
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
taplo fmt --check
|
taplo fmt --check
|
||||||
6
ci_scripts/test-ubuntu.sh
Normal file
6
ci_scripts/test-ubuntu.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
set -e
|
||||||
|
|
||||||
|
curl -L https://risczero.com/install | bash
|
||||||
|
/home/runner/.risc0/bin/rzup install
|
||||||
|
|
||||||
|
cargo test --release
|
||||||
Loading…
x
Reference in New Issue
Block a user