From 637445f2c28b7006d9389aefe1fb33dc3405e160 Mon Sep 17 00:00:00 2001 From: Elliott Linder Date: Wed, 6 Mar 2024 12:06:25 +0100 Subject: [PATCH] fix: install curl for FreeBSD CI --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97e0a26..6a7de7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,10 +133,13 @@ jobs: parallel -t --retries 20 --delay 5 ::: 'sshpass -e ssh-copy-id -o StrictHostKeyChecking=no qemu' - name: Install toolchain (rustup) - if: ${{ !contains(matrix.target, 'openbsd') }} + if: ${{ contains(matrix.target, 'freebsd') }} run: | - ssh qemu "curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal" - ssh qemu "ln -s ~/.cargo/bin ~/bin" + ssh qemu <<'EOF' + pkg install -y curl + curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal + ln -s ~/.cargo/bin ~/bin + EOF - name: Install toolchain (pkg) if: ${{ contains(matrix.target, 'openbsd') }}