Skip to content

Commit db5d55c

Browse files
committed
use rustup for installing Rust on NetBSD
1 parent 37ebd03 commit db5d55c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci-netbsd.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
with:
2929
usesh: true
3030
prepare: |
31-
/usr/sbin/pkg_add rust mktools gmake pkgconf cwrappers
31+
/usr/sbin/pkg_add curl cwrappers gmake mktools pkgconf
32+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
3233
run: |
34+
export PATH="/root/.cargo/bin:$PATH"
3335
cargo build --all --locked --verbose --no-default-features --features cli
3436
cargo test --all --locked --verbose --no-default-features --features cli

0 commit comments

Comments
 (0)