diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 0000000..65dfb0c --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -0,0 +1,17 @@ +name: C/C++ CI + +on: [push] + +jobs: + build-ubuntu: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: update + run: sudo apt update && sudo apt-get install libasound2-dev + - name: configure + run: mkdir build && cd build && cmake -DCMAKE_CXX_FLAGS="-Werror" .. + - name: build + run: cmake --build build