Skip to content

Commit 9aba987

Browse files
committed
try the cargo-c install step as rustls-ffi uses it
Just `cargo install cargo-c` downloads the internet...
1 parent 4039614 commit 9aba987

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/linux.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,13 @@ jobs:
7777
with:
7878
toolchain: ${{ matrix.rust }}
7979

80-
- name: Install cargo-c
81-
run: cargo install cargo-c
80+
- name: Install cargo-c (Ubuntu)
81+
if: runner.os == 'Linux'
82+
env:
83+
LINK: https://github.com/lu-zero/cargo-c/releases/latest/download
84+
CARGO_C_FILE: cargo-c-x86_64-unknown-linux-musl.tar.gz
85+
run: |
86+
curl -L $LINK/$CARGO_C_FILE | tar xz -C ~/.cargo/bin
8287
8388
- name: 'checkout rustls-ffi'
8489
run: |

0 commit comments

Comments
 (0)