Skip to content

Added feature "disablekomsiport" to compile without serial port. Adde… #17

Added feature "disablekomsiport" to compile without serial port. Adde…

Added feature "disablekomsiport" to compile without serial port. Adde… #17

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-gnu]
steps:
- uses: actions/checkout@v4
- name: Install libudev-dev
run: sudo apt-get install -y libudev-dev
- name: Build
run: cargo build --bin TheBus2Komsi --verbose
run: cargo build --bin TheBusTestAPI --features="disablekomsiport" --verbose

Check failure on line 27 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 27, Col: 7): 'run' is already defined
- name: Run tests
run: cargo test --verbose