mirror of
https://github.com/Revertron/Alfis
synced 2024-11-03 15:40:19 +00:00
31 lines
589 B
YAML
31 lines
589 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ windows-latest, ubuntu-latest, macOS-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: install libgtk-dev libwebkit2gtk-4.0
|
|
run: sudo apt update && sudo apt install libwebkit2gtk-4.0-dev
|
|
if: contains(matrix.os, 'ubuntu')
|
|
- name: Build
|
|
run: cargo build --verbose
|
|
- name: Run tests
|
|
run: cargo test --all --verbose
|
|
|