minmea/.github/workflows/c-cpp.yml

15 lines
365 B
YAML
Raw Normal View History

2022-05-21 08:53:38 +08:00
name: C/C++ CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
2022-06-03 05:14:42 +08:00
run: sudo apt-get install -y clang-tools check cmake
- name: cmake
run: "( rm -rf build && mkdir build && cd build && cmake .. && make && CTEST_OUTPUT_ON_FAILURE=1 make
test && echo OK )"