isotp: add test for max transfer size without FD (#106) #167
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Linux | |
| on: [push, pull_request] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup SocketCAN | |
| run: | | |
| sudo apt-get -y install linux-modules-extra-$(uname -r) can-utils | |
| pip install --user scapy==2.6.1 | |
| scripts/build_can_isotp.sh | |
| scripts/set_up_vcan.sh | |
| - name: Build | |
| run: cargo build --verbose --features=serde | |
| - name: Build Examples | |
| run: cargo build --verbose --features=serde --examples | |
| - name: Run tests | |
| run: cargo test --features=test-vcan,serde --verbose |