diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..477c268 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,20 @@ +name: C/C++ CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-18.04 + + steps: + - name: install dependencies + run: apt install build-essential cmake libasio-dev + - name: build + run: mkdir build && cd build && cmake .. && cmake --build . + - name: pack + run: cpack