minmea/.github/workflows/c-cpp.yml
2022-06-02 23:14:42 +02:00

16 lines
369 B
YAML

name: C/C++ CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install -y clang-tools check cmake
- name: make
run: make
- name: cmake
run: "( rm -rf build && mkdir build && cd build && cmake .. && make && ./tests && echo OK )"