Skip to content

Commit 5b1199f

Browse files
committed
fix: install curl for FreeBSD CI
1 parent 9117694 commit 5b1199f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
include:
8585
- target: x86_64-unknown-freebsd
8686
image: https://gitlab.com/kit-ty-kate/qemu-base-images/-/raw/master/FreeBSD-13.2-RELEASE-amd64.qcow2?inline=false
87-
md5: 33b6bc89cdc675f5cbaf92e71ae648f8
87+
md5: 01ad7883c69476d90872eb38180085c0
8888
args: -net nic
8989
- target: x86_64-unknown-openbsd
9090
image: https://gitlab.com/kit-ty-kate/qemu-base-images/-/raw/master/OpenBSD-7.4-amd64.qcow2?inline=false
@@ -133,10 +133,13 @@ jobs:
133133
parallel -t --retries 20 --delay 5 ::: 'sshpass -e ssh-copy-id -o StrictHostKeyChecking=no qemu'
134134
135135
- name: Install toolchain (rustup)
136-
if: ${{ !contains(matrix.target, 'openbsd') }}
136+
if: ${{ contains(matrix.target, 'freebsd') }}
137137
run: |
138-
ssh qemu "curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal"
139-
ssh qemu "ln -s ~/.cargo/bin ~/bin"
138+
ssh qemu <<'EOF'
139+
pkg install -y curl
140+
curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
141+
ln -s ~/.cargo/bin ~/bin
142+
EOF
140143
141144
- name: Install toolchain (pkg)
142145
if: ${{ contains(matrix.target, 'openbsd') }}

0 commit comments

Comments
 (0)