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

16 lines
369 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
2022-05-21 08:53:38 +08:00
- name: make
run: make
2022-06-03 05:14:42 +08:00
- name: cmake
run: "( rm -rf build && mkdir build && cd build && cmake .. && make && ./tests && echo OK )"