json/.github/workflows/ccpp.yml
Niels Lohmann eab68e7750
👷 add test step
2019-09-02 22:15:11 +02:00

20 lines
305 B
YAML

name: C/C++ CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: prepare
run: mkdir build
- name: cmake
run: cd build ; cmake ..
- name: build
run: make -C build
- name: test
run: cd build ; ctest -j 10