Files
ugv_sdk/.github/workflows/standalone-ci.yml
Du Ruixiang 780f8485a9 Update standalone-ci.yml
added test run
2020-08-16 18:10:59 +08:00

23 lines
470 B
YAML

name: Cpp
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install -y build-essential cmake libasio-dev
- name: Build and pack
run: pwd && ls && mkdir build && cd build && cmake -DBUILD_TESTS=ON .. && cmake --build . && cpack
- name: Run tests
run: ./build/bin/gtest_all