Skip to content

release 3.0.0

release 3.0.0 #64

Workflow file for this run

name: Windows compilation and tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-2019
steps:
- name: Install TShark
shell: powershell
run: choco install -y wireshark
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Check where is thshark
run: dir "C:\Program Files\Wireshark"
- name: Run doc tests
run: cargo test --doc
# unit test currently fails with this error : `Err` value: Custom { kind: NotFound, error: "Unable to find tshark: program not found" }
#- name: Run unit tests
# run: |
# echo "C:\Program Files\Wireshark" >> $GITHUB_PATH
# cargo test --lib -- --test-threads=1