Merge pull request #24 from itsjunetime/main #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macOS-latest, windows-2019, ubuntu-latest] | |
include: | |
- os: ubuntu-latest | |
command: sudo apt-get update && sudo apt-get install pkg-config libssl-dev libgtk-3-dev xdotool libxdo-dev libwebkit2gtk-4.1-dev libgtk-3-0 libgtk-3-dev | |
steps: | |
- uses: actions/checkout@v2 | |
- run: ${{ matrix.command }} | |
- name: Build | |
run: cargo build --verbose | |
- name: Check | |
run: cargo check --verbose | |
- name: Run tests | |
run: cargo test --verbose |