Add a job to ci.yml that does `cargo install --locked --path ./zebrad/ zebrad` (#3998)
* Add a job to ci.yml that does cargo install --locked --path . zebrad * Update .github/workflows/ci.yml Co-authored-by: teor <teor@riseup.net> * Update .github/workflows/ci.patch.yml Co-authored-by: teor <teor@riseup.net> * Update .github/workflows/ci.yml Co-authored-by: Gustavo Valverde <gustavo@iterativo.do> * Update .github/workflows/ci.patch.yml Co-authored-by: Gustavo Valverde <gustavo@iterativo.do> Co-authored-by: teor <teor@riseup.net> Co-authored-by: Gustavo Valverde <gustavo@iterativo.do> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
d767f43fd9
commit
3552eafbb8
|
@ -51,6 +51,14 @@ jobs:
|
|||
steps:
|
||||
- run: 'echo "No build required"'
|
||||
|
||||
install-from-lockfile-no-cache:
|
||||
name: Install zebrad from lockfile without cache on ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- run: 'echo "No build required"'
|
||||
|
||||
build:
|
||||
name: Build stable on ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
|
|
|
@ -196,6 +196,28 @@ jobs:
|
|||
working-directory: ./zebra-chain
|
||||
run: cargo build --verbose --no-default-features
|
||||
|
||||
install-from-lockfile-no-cache:
|
||||
name: Install zebrad from lockfile without cache on ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3.0.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
override: true
|
||||
|
||||
- name: Install
|
||||
uses: actions-rs/cargo@v1.0.3
|
||||
with:
|
||||
command: install
|
||||
args: --locked --path ./zebrad/ zebrad
|
||||
|
||||
build:
|
||||
name: Build stable on ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
|
|
Loading…
Reference in New Issue