mirror of
https://github.com/agersant/polaris
synced 2024-11-10 18:24:13 +00:00
33 lines
727 B
YAML
33 lines
727 B
YAML
name: Build
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
test:
|
|
name: Run Tests
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
features: [--all-features, --no-default-features]
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
steps:
|
|
- name: Install libsqlite3-dev
|
|
if: matrix.os == 'ubuntu-latest'
|
|
run: sudo apt-get install libsqlite3-dev
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
submodules: true
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: nightly-2020-01-14
|
|
profile: minimal
|
|
default: true
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
args: --release ${{ matrix.features }}
|