Skip to content

Merge pull request #51 from asomers/users #77

Merge pull request #51 from asomers/users

Merge pull request #51 from asomers/users #77

Workflow file for this run

name: Build and Test
on:
push:
pull_request:
jobs:
build_and_test:
runs-on: macos-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
matrix:
box:
- fbsd_13_1
- fbsd_12_4
steps:
- uses: actions/checkout@v2
- name: Set up vagrant
run: vagrant up ${{ matrix.box }}
- name: Build
run: vagrant ssh ${{ matrix.box }} -- "cd /vagrant; cargo build"
- name: Test
run: vagrant ssh ${{ matrix.box }} -- "cd /vagrant; cargo test --lib"
- name: Docstests
run: vagrant ssh ${{ matrix.box }} -- "cd /vagrant; cargo test --doc"
- name: Build Docs
run: vagrant ssh ${{ matrix.box }} -- "cd /vagrant; cargo doc"