Skip to content

Commit

Permalink
fix: install curl for FreeBSD CI
Browse files Browse the repository at this point in the history
  • Loading branch information
darfink committed Mar 6, 2024
1 parent 9117694 commit 637445f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down

0 comments on commit 637445f

Please sign in to comment.