Move to GitHub actions #712
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: freebsd | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: build | |
uses: vmactions/[email protected] | |
with: | |
usesh: true | |
sync: rsync | |
copyback: false | |
prepare: pkg install -y bash curl lang/rust devel/llvm-devel | |
run: | | |
cargo build --all --all-targets --verbose | |
cargo install cargo-deny | |
cargo deny check licenses | |
cargo deny check bans | |
curl https://sh.rustup.rs -sSf > rustup.sh | |
sh rustup.sh -y | |
. $HOME/.cargo/env | |
rustup target add i686-unknown-freebsd | |
cargo build --all --all-targets --verbose --no-default-features --target i686-unknown-freebsd | |