Skip to content

nightly

nightly #237

Workflow file for this run

name: nightly
permissions:
contents: read
on:
push:
branches:
- 'release/**'
schedule:
- cron: '0 4 * * *'
workflow_dispatch: {}
jobs:
test-freebsd:
# see https://github.com/actions/runner/issues/385
# use https://github.com/vmactions/freebsd-vm for now
name: test on freebsd
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- name: test on freebsd
uses: vmactions/freebsd-vm@f8be330398166d1eb0601f01353839d4052367b2
with:
usesh: true
mem: 4096
copyback: false
prepare: |
pkg install -y curl
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --profile minimal --default-toolchain stable
. "$HOME/.cargo/env"
rustup component add clippy
echo "~~~~ rustc --version ~~~~"
rustc --version
echo "~~~~ freebsd-version ~~~~"
freebsd-version
run: |
. "$HOME/.cargo/env"
cargo clippy --workspace --all-targets -- -D warnings &&
cargo build --all-targets &&
cargo test