Fix base32 to 0.4.0 #185
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: Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
static-analysis: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install cargo components | |
run: | | |
rustup component add rustfmt | |
rustup component add clippy | |
- name: Rust Format | |
run: cargo fmt --all -- --check | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --all-features | |
build: | |
strategy: | |
matrix: | |
build: | |
- type: linux | |
features: no-default | |
os: ubuntu-latest | |
- type: linux | |
features: default | |
os: ubuntu-latest | |
- type: mac | |
features: default | |
os: macos-10.15 | |
runs-on: ${{matrix.build.os}} | |
env: | |
FEATURE_BUILD: ${{matrix.build.features}} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies for default features on linux | |
if: matrix.build.features == 'default' && matrix.build.type == 'linux' | |
run: sudo apt-get install libdbus-1-dev libxcb-shape0 libxcb-shape0-dev libxcb-xfixes0-dev libxcb-xfixes0 | |
- name: Build | |
run: .ci/build.sh | |
- name: Run tests | |
run: .ci/test.sh |