From 742452437f49ed02801f55c3fe2d8130699af87e Mon Sep 17 00:00:00 2001 From: Vladimir K Date: Sat, 13 Jun 2020 21:24:03 -0700 Subject: [PATCH] Add Github action for x86_64 Linux build --- .github/workflows/ccpp.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/ccpp.yml 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