More formatting changes and slight optimization #8
This file contains 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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
name: build-linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout libopeninv | |
uses: actions/checkout@v4 | |
with: | |
path: libopeninv | |
- name: Checkout libopencm3 | |
uses: actions/checkout@v4 | |
with: | |
repository: jsphuebner/libopencm3 | |
path: libopencm3 | |
- name: Build unit tests on host | |
run: | | |
make -C libopeninv/test clean all CAN_SIGNED=0 | |
- name: Run unit tests on host | |
run: | | |
libopeninv/test/test_libopeninv | |
- name: Build unit tests on host (Signed CAN receive) | |
run: | | |
make -C libopeninv/test clean all CAN_SIGNED=1 | |
- name: Run unit tests on host (Signed CAN receive) | |
run: | | |
libopeninv/test/test_libopeninv |