summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ccpp.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
new file mode 100644
index 00000000..c1c5a32e
--- /dev/null
+++ b/.github/workflows/ccpp.yml
@@ -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