Make output file name optional #9
Workflow file for this run
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: Build tools | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
csv_to_ulog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build csv_to_ulog | |
run: cd tools/csv_to_ulog && mkdir build && cd build && cmake .. && make | |
- name: Test csv_to_ulog | |
run: | | |
cd tools/csv_to_ulog/build | |
echo -e "t,x,y,z\n0,1,2,3\n1,4,5,6" > log.csv | |
cat log.csv | |
./csv_to_ulog log.csv log.ulg | |
test $(stat -c %s log.ulg) -eq 196 |