CI: Add GitHub actions-based rolling release

This commit is contained in:
Connor McLaughlin
2020-05-17 23:00:26 +10:00
parent 096ed21767
commit f2e6b8d72b
2 changed files with 105 additions and 0 deletions

View File

@ -0,0 +1,38 @@
name: Linux Build
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install packages
shell: bash
run: |
sudo apt-get update
sudo apt-get -y install libsdl2-dev libgtk2.0-dev
- name: Compile debug build
shell: bash
run: |
mkdir build-debug
cd build-debug
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_QT_FRONTEND=OFF ..
make
- name: Compile release build
shell: bash
run: |
mkdir build-release
cd build-release
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_QT_FRONTEND=OFF ..
make