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:
Deirdre Connolly 2022-03-30 17:53:57 -04:00 committed by GitHub
parent d767f43fd9
commit 3552eafbb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 1 deletions

View File

@ -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

View File

@ -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