Skip to content

Commit 730f15c

Browse files
authored
ci: add cross installation step (#67)
1 parent 25b5e26 commit 730f15c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Diff for: .github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979
uses: dtolnay/rust-toolchain@stable
8080
with:
8181
targets: ${{ matrix.job.target }}
82+
- name: Install cross
83+
run: cargo install --force cross
84+
if: runner.os == 'Linux'
8285
- name: Build
8386
run: cargo build --locked --release --target=${{ matrix.job.target }}
8487
if: runner.os != 'Linux'

Diff for: .github/workflows/release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ jobs:
5555
uses: dtolnay/rust-toolchain@stable
5656
with:
5757
targets: ${{ matrix.job.target }}
58+
- name: Install cross
59+
run: cargo install --force cross
60+
if: runner.os == 'Linux'
5861
- name: Build
5962
run: cargo build --locked --release --target=${{ matrix.job.target }}
6063
if: runner.os != 'Linux'

0 commit comments

Comments
 (0)