Create CI

This commit is contained in:
Christoffer Lerno
2020-04-22 13:50:00 +02:00
parent df0433d746
commit 8e80091da4
16 changed files with 54 additions and 15 deletions

21
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: CI
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: (Linux) Download LLVM
run: sudo apt-get install llvm
- name: Build
run: |
mkdir build && cd build
cmake -DLLVM_DIR=/usr/lib/llvm/cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .