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 c4dfc0c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,17 +133,20 @@ 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') }}
run: ssh qemu "pkg_add rust"

- name: Copy crate
run: rsync -r . qemu:crate
run: scp -r . qemu:crate

# TODO: Respect RUST_TEST_THREADS
- name: Run tests
Expand Down

0 comments on commit c4dfc0c

Please sign in to comment.