GitHub actions (#799)

* switchting to github actions
This commit is contained in:
Sascha Willems 2021-01-15 21:15:16 +01:00 committed by GitHub
parent 3101a523d6
commit 3cd37f622b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 83 additions and 61 deletions

42
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,42 @@
name: Build Project
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_ubuntu_x11:
name: Build Ubuntu
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Build
run: |
cmake .
make
build_windows:
name: Build Windows
runs-on: windows-latest
steps:
- uses: ilammy/msvc-dev-cmd@v1
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Build
env:
TARGET_PLATFORM: windows
run: |
cmake .
cmake --build .