fix accidental shadow #566
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: | |
build-linux: | |
name: Build Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- run: sudo apt-get install -y libxcb-shape0-dev libxcb-xfixes0-dev | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
msrv: | |
strategy: | |
matrix: | |
rust-version: [1.61.0] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone Git repository | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Install Rust version ${{ matrix.rust-version }} | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust-version }} | |
override: true | |
- run: sudo apt-get install -y libxcb-shape0-dev libxcb-xfixes0-dev | |
- name: Check whether it compiles | |
run: | | |
cargo build --all-features | |
build-windows: | |
name: Build Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build |