mirror of
https://github.com/n0-computer/iroh.git
synced 2026-12-01 08:01:45 +00:00
chore(ci): use pre-compiled binary on CI (#2429)
## Description Quoting from #2394 > Compiling `cross` on CI takes more time compared to pulling the binary directly from a GitHub release. > We can use [taiki-e/install-action](https://github.com/taiki-e/install-action) to pull the binary directly from the GitHub release. This action supports tagging a specific release or using the latest version. ## Breaking Changes No. ## Notes & open questions ## Change checklist - [ ] Self-review. - [ ] Documentation updates if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented. Closes #2394 Co-authored-by: Asmir Avdicevic <asmir.avdicevic64@gmail.com>
This commit is contained in:
co-authored by
Asmir Avdicevic
parent
d4fe155748
commit
cdad25a193
@@ -57,9 +57,8 @@ jobs:
|
||||
run: |
|
||||
docker kill $(docker ps -q)
|
||||
|
||||
- name: Install cross
|
||||
# See https://github.com/cross-rs/cross/issues/1222
|
||||
run: cargo install cross --git https://github.com/cross-rs/cross
|
||||
- uses: taiki-e/install-action@cross
|
||||
|
||||
- name: build
|
||||
# cross tests are currently broken vor armv7 and aarch64
|
||||
@@ -139,9 +138,8 @@ jobs:
|
||||
run: |
|
||||
docker kill $(docker ps -q)
|
||||
|
||||
- name: Install cross
|
||||
# See https://github.com/cross-rs/cross/issues/1222
|
||||
run: cargo install cross --git https://github.com/cross-rs/cross
|
||||
- uses: taiki-e/install-action@cross
|
||||
|
||||
- name: test
|
||||
run: cross test --all --target ${{ matrix.target }} -- --test-threads=12
|
||||
|
||||
Reference in New Issue
Block a user