Merge pull request #264 from rtbo/release_1.4.0 #104
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
on: [push, pull_request] | |
name: Continuous Integration | |
jobs: | |
check: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
env: | |
RUSTDOCFLAGS: -Dwarnings | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install \ | |
libgl1-mesa-dev \ | |
libxcb-composite0-dev \ | |
libxcb-damage0-dev \ | |
libxcb-dpms0-dev \ | |
libxcb-dri2-0-dev \ | |
libxcb-dri3-dev \ | |
libxcb-glx0-dev \ | |
libxcb-present-dev \ | |
libxcb-randr0-dev \ | |
libxcb-record0-dev \ | |
libxcb-render0-dev \ | |
libxcb-res0-dev \ | |
libxcb-screensaver0-dev \ | |
libxcb-shape0-dev \ | |
libxcb-shm0-dev \ | |
libxcb-sync-dev \ | |
libxcb-xf86dri0-dev \ | |
libxcb-xfixes0-dev \ | |
libxcb-xinerama0-dev \ | |
libxcb-xkb-dev \ | |
libxcb-xtest0-dev \ | |
libxcb-xv0-dev \ | |
libxcb-xvmc0-dev \ | |
libx11-xcb-dev | |
- name: Run cargo build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --all-features | |
- name: Run cargo test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --all-features | |
- name: Run cargo doc | |
uses: actions-rs/cargo@v1 | |
with: | |
command: doc | |
args: --all-features |