diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 000000000..c1c5a32ed --- /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