Skip to content

Tag Event and Packet with their type when serializing #95

Tag Event and Packet with their type when serializing

Tag Event and Packet with their type when serializing #95

Workflow file for this run

name: Rust
on:
push:
branches: ["master"]
pull_request:
branches: ["*"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies Ubuntu
if: ${{contains(runner.os,'Linux')}}
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends ncurses-dev libncursesw5-dev libgtk-3-dev
- name: Install Dependencies Mac
if: ${{contains(runner.os,'macOS')}}
run: |
brew install cairo gtk+3
rustup component add rustfmt clippy --toolchain stable-x86_64-apple-darwin
- name: Lint
run: |
cargo fmt -- --check
cargo clippy -- -D warnings
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose