Skip to content

Merge pull request #33 from DavidAntliff/fix_config_sender_frame_count #75

Merge pull request #33 from DavidAntliff/fix_config_sender_frame_count

Merge pull request #33 from DavidAntliff/fix_config_sender_frame_count #75

Workflow file for this run

# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
sudo apt update
sudo apt install clang llvm gcc-multilib libelf-dev libpcap-dev build-essential
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
sudo apt update
sudo apt install clang llvm gcc-multilib libelf-dev libpcap-dev build-essential
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --tests
- run: sudo ./run_all_tests.sh
miri:
name: Miri
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
sudo apt update
sudo apt install clang llvm gcc-multilib libelf-dev libpcap-dev build-essential
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- run: |
MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri)
rustup set profile minimal
rustup override set "$MIRI_NIGHTLY"
rustup component add miri
- uses: actions-rs/cargo@v1
with:
command: miri
args: test --lib
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
sudo apt update
sudo apt install clang llvm gcc-multilib libelf-dev libpcap-dev build-essential
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings