mirror of https://github.com/wb2osz/direwolf.git
Add Github action for x86_64 Linux build
This commit is contained in:
parent
e2b32d1d2a
commit
742452437f
|
@ -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
|
Loading…
Reference in New Issue