Skip to content

refactor(driver): require Default for Control (#859) #567

refactor(driver): require Default for Control (#859)

refactor(driver): require Default for Control (#859) #567

name: TestFreeBSD
on:
push:
branches:
- master
paths:
- '**/*.rs'
- '**/Cargo.toml'
- '.github/workflows/ci_test_freebsd.yml'
pull_request:
branches:
- master
paths:
- '**/*.rs'
- '**/Cargo.toml'
- '.github/workflows/ci_test_freebsd.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
test_freebsd:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: ['nightly']
steps:
- uses: actions/checkout@v6
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
sync: rsync
copyback: false
prepare: |
pkg install -y curl pkgconf python3 perl5 gmake
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf > install.sh
chmod +x install.sh
./install.sh -y --default-toolchain ${{ matrix.toolchain }} --profile minimal
run: |
. "$HOME/.cargo/env"
set -ex
rustup component add clippy
cargo clippy --all-features --all-targets -- -Dwarnings