Add Github action for x86_64 Linux build

This commit is contained in:
Vladimir K 2020-06-13 21:24:03 -07:00
parent e2b32d1d2a
commit 742452437f
1 changed files with 17 additions and 0 deletions

17
.github/workflows/ccpp.yml vendored Normal file
View File

@ -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