Create ccpp.yml

This commit is contained in:
Ray 2019-12-04 18:25:17 +01:00 committed by GitHub
parent f346c672fb
commit 1b7d136daa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.github/workflows/ccpp.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: C/C++ CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: apt-update
run: sudo apt-get update -qq
- name: apt get glfw
run: sudo apt-get install -y --no-install-recommends libglfw3 libglfw3-dev libglew-dev
- name: make src
run: cd src && make PLATFORM=PLATFORM_DESKTOP
- name: make examples
run: cd examples && make PLATFORM=PLATFORM_DESKTOP