direwolf/.github/workflows/ccpp.yml

18 lines
357 B
YAML

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