1
0
Fork 0
baseview/.github/workflows/rust.yml
2020-05-25 21:18:23 -04:00

28 lines
605 B
YAML

name: Rust
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- name: install XCB dependencies
run: |
sudo apt update
sudo apt install libx11-xcb-dev libxcb-dri2-0-dev
if: contains(matrix.os, 'ubuntu')
- name: install rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose