Skip to content

Merge pull request #18 from nkypy/dependabot/cargo/async-channel-2.0 #68

Merge pull request #18 from nkypy/dependabot/cargo/async-channel-2.0

Merge pull request #18 from nkypy/dependabot/cargo/async-channel-2.0 #68

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
coverage:
name: Coverage
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
- uses: actions-rs/grcov@v0.1
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ steps.coverage.outputs.report }}
fail_ci_if_error: true
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --bin tfrps --release
- uses: actions-rs/cargo@v1
with:
command: build
args: --bin tfrpc --release