2019-12-04 20:25:17 +03:00
|
|
|
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
|
2019-12-04 22:23:13 +03:00
|
|
|
run: sudo apt-get install -y --no-install-recommends libglfw3 libglfw3-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libxfixes-dev
|
2019-12-04 20:25:17 +03:00
|
|
|
- name: make src
|
|
|
|
run: cd src && make PLATFORM=PLATFORM_DESKTOP
|
|
|
|
- name: make examples
|
|
|
|
run: cd examples && make PLATFORM=PLATFORM_DESKTOP
|