Fix CI
This commit is contained in:
parent
d3ba83405c
commit
814526a248
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
args: --locked --manifest-path util/io/Cargo.toml --no-default-features --verbose
|
args: --locked --manifest-path crates/runtime/io/Cargo.toml --no-default-features --verbose
|
||||||
- name: Run cargo check 3/3
|
- name: Run cargo check 3/3
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
@ -8,13 +8,14 @@ ERR=0
|
|||||||
echo "________Validate chainspecs________"
|
echo "________Validate chainspecs________"
|
||||||
time cargo build --release -p chainspec --verbose --color=always
|
time cargo build --release -p chainspec --verbose --color=always
|
||||||
|
|
||||||
for spec in ethcore/res/*.json; do
|
for spec in crates/ethcore/res/chainspec/*.json; do
|
||||||
if ! ./target/release/chainspec "$spec"; then ERR=1; fi
|
if ! ./target/release/chainspec "$spec"; then ERR=1; fi
|
||||||
done
|
done
|
||||||
|
|
||||||
for spec in ethcore/res/ethereum/*.json; do
|
for spec in crates/ethcore/res/chainspec/test/*.json; do
|
||||||
if ! ./target/release/chainspec "$spec"; then ERR=1; fi
|
if ! ./target/release/chainspec "$spec"; then ERR=1; fi
|
||||||
done
|
done
|
||||||
|
|
||||||
#show sccache statistics
|
#show sccache statistics
|
||||||
#sccache --stop-server
|
#sccache --stop-server
|
||||||
exit $ERR
|
exit $ERR
|
||||||
|
Loading…
Reference in New Issue
Block a user