Merge pull request #11 from YushiOMOTE/readme #47
Workflow file for this run
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] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Prepare | |
run: sudo apt install libasound2-dev libxcursor-dev | |
- name: Build (stable) | |
run: cargo build --verbose | |
- name: Build examples (stable) | |
run: cargo build --verbose --examples | |
- name: Test (stable) | |
run: cargo test --verbose | |
- name: Install nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
- name: Build (nightly) | |
run: cargo build --verbose | |
- name: Build examples (nightly) | |
run: cargo build --verbose --examples | |
- name: Test (nightly) | |
run: cargo test --verbose |