Skip to content

Commit

Permalink
Add a job to ci.yml that does `cargo install --locked --path ./zebrad…
Browse files Browse the repository at this point in the history
…/ zebrad` (#3998)

* Add a job to ci.yml that does cargo install --locked --path . zebrad

* Update .github/workflows/ci.yml

Co-authored-by: teor <[email protected]>

* Update .github/workflows/ci.patch.yml

Co-authored-by: teor <[email protected]>

* Update .github/workflows/ci.yml

Co-authored-by: Gustavo Valverde <[email protected]>

* Update .github/workflows/ci.patch.yml

Co-authored-by: Gustavo Valverde <[email protected]>

Co-authored-by: teor <[email protected]>
Co-authored-by: Gustavo Valverde <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Mar 30, 2022
1 parent d767f43 commit 3552eaf
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -72,4 +80,4 @@ jobs:
continue-on-error: ${{ matrix.checks == 'advisories' }}

steps:
- run: 'echo "No build required"'
- run: 'echo "No build required"'
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
persist-credentials: false

- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true

- name: Install
uses: actions-rs/[email protected]
with:
command: install
args: --locked --path ./zebrad/ zebrad

build:
name: Build stable on ubuntu-latest
timeout-minutes: 60
Expand Down

0 comments on commit 3552eaf

Please sign in to comment.