Skip to content

Commit 83d1f64

Browse files
authored
ci: install cross before doing cross compilation build, fix typo (#15)
1 parent 1626403 commit 83d1f64

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
- name: Setup rust cache
1818
uses: Swatinem/rust-cache@v2
1919

20-
- name: Install cross
20+
- name: Run cargo check
2121
run: cargo check --release

.github/workflows/release-chat-example.yml

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
- name: Setup rust cache
4949
uses: Swatinem/rust-cache@v2
5050

51+
- name: Install cross
52+
run: cargo install cross --version 0.2.5
53+
5154
- name: Build for Intel Linux
5255
run: cargo build -p chat-example --release --target=x86_64-unknown-linux-gnu
5356

.github/workflows/release-dcutr-example.yml

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
- name: Setup rust cache
4949
uses: Swatinem/rust-cache@v2
5050

51+
- name: Install cross
52+
run: cargo install cross --version 0.2.5
53+
5154
- name: Build for Intel Linux
5255
run: cargo build -p dcutr-example --release --target=x86_64-unknown-linux-gnu
5356

0 commit comments

Comments
 (0)