Add GitHub workflows

This commit is contained in:
kichikuou
2020-02-23 23:04:38 +09:00
parent 174f1ac359
commit 638e96f894
3 changed files with 102 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
name: Linux Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Deps
run: sudo apt install libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev
- name: Build
run: |
mkdir -p out/debug
cd out/debug
cmake -DCMAKE_BUILD_TYPE=Debug ../../
make
- name: Test
run: ctest
working-directory: out/debug