Skip to content

update customized yolo model and default config #87

update customized yolo model and default config

update customized yolo model and default config #87

Workflow file for this run

name: Build & Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
BUILD_TYPE: Release
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: longkl/iot:latest
options: -v ${{ github.workspace }}:${{ github.workspace }}
run: |
cp /home/runner/work/iot/iot/iot-config.json /etc/
cmake -B/home/runner/work/iot/iot/build -S /home/runner/work/iot/iot/
cmake --build /home/runner/work/iot/iot/build | grep 'Linking CXX executable iot' || exit 127
cmake -B/home/runner/work/iot/iot/unittests/build -S /home/runner/work/iot/iot/unittests/
cmake --build /home/runner/work/iot/iot/unittests/build
cp -r /home/runner/work/iot/iot/darknet-deps/data/coco.names /home/runner/work/iot/iot/unittests/build
cd /home/runner/work/iot/iot/unittests/build && make test | grep '100% tests passed' || ( cat /home/runner/work/iot/iot/unittests/build/Testing/Temporary/LastTest.log ; exit 127 )