2
0
mirror of https://github.com/Revertron/Alfis synced 2024-11-03 15:40:19 +00:00

Update rust_build_and_test.yml

This commit is contained in:
Revertron 2021-02-23 00:01:52 +01:00 committed by GitHub
parent 790dbe272a
commit fc0ca6afd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
name: Rust
name: Build
on:
push:
@ -12,11 +12,19 @@ env:
jobs:
build:
runs-on: windows-latest
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 --verbose
run: cargo test --all --verbose