termscp/.github/workflows/freebsd.yml

23 lines
686 B
YAML
Raw Normal View History

2021-06-20 11:29:12 +02:00
name: FreeBSD
on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: FreeBSD build
id: test
uses: vmactions/freebsd-vm@v0.1.4
with:
usesh: true
2021-09-26 18:14:13 +02:00
prepare: pkg install -y curl wget libssh gcc vim dbus pkgconf
2021-06-20 11:29:12 +02:00
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh && \
chmod +x /tmp/rustup.sh && \
/tmp/rustup.sh -y
. $HOME/.cargo/env
cargo build --no-default-features
cargo test --no-default-features --verbose --lib --features github-actions -- --test-threads 1