Skip to content

Bump anyhow from 1.0.76 to 1.0.77 #525

Bump anyhow from 1.0.76 to 1.0.77

Bump anyhow from 1.0.76 to 1.0.77 #525

Workflow file for this run

on: [push]
name: CI
jobs:
clippy:
name: Clippy
strategy:
matrix:
platform:
- { target: x86_64-unknown-linux-gnu, os: ubuntu-18.04 }
- { target: x86_64-unknown-linux-musl, os: ubuntu-18.04 }
- { target: armv7-unknown-linux-gnueabihf, os: ubuntu-18.04 }
- { target: aarch64-unknown-linux-gnu, os: ubuntu-18.04 }
- { target: riscv64gc-unknown-linux-gnu, os: ubuntu-18.04 }
# - { target: x86_64-pc-windows-msvc, os: windows-latest }
- { target: x86_64-apple-darwin, os: macos-latest }
runs-on: ${{ matrix.platform.os }}
steps:
- uses: actions/checkout@v2
- name: Install Rust Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Clippy (src)
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: Clippy (test)
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --tests
test:
name: Test
strategy:
matrix:
platform:
- { target: x86_64-unknown-linux-gnu, os: ubuntu-18.04 }
- { target: x86_64-unknown-linux-musl, os: ubuntu-18.04 }
- { target: armv7-unknown-linux-gnueabihf, os: ubuntu-18.04 }
- { target: aarch64-unknown-linux-gnu, os: ubuntu-18.04 }
- { target: riscv64gc-unknown-linux-gnu, os: ubuntu-18.04 }
# - { target: x86_64-pc-windows-msvc, os: windows-latest }
- { target: x86_64-apple-darwin, os: macos-latest }
runs-on: ${{ matrix.platform.os }}
steps:
- uses: actions/checkout@v2
- name: Install Rust Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run Tests
run: cargo test
build:
name: Cross Compile
needs: [clippy, test]
strategy:
matrix:
platform:
- { target: x86_64-unknown-linux-gnu, os: ubuntu-18.04 }
- { target: x86_64-unknown-linux-musl, os: ubuntu-18.04 }
- { target: armv7-unknown-linux-gnueabihf, os: ubuntu-18.04 }
- { target: aarch64-unknown-linux-gnu, os: ubuntu-18.04 }
- { target: riscv64gc-unknown-linux-gnu, os: ubuntu-18.04 }
# - { target: x86_64-pc-windows-msvc, os: windows-latest }
- { target: x86_64-apple-darwin, os: macos-latest }
runs-on: ${{ matrix.platform.os }}
steps:
- uses: actions/checkout@v2
- name: Install Rust Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --target ${{ matrix.platform.target }}