16 lines
369 B
YAML
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 )"
|