2020-01-09 18:35:42 +03:00
|
|
|
name: CI - Source & Examples - Linux
|
2019-12-04 20:25:17 +03:00
|
|
|
|
2020-01-10 01:39:43 +03:00
|
|
|
on: [push, pull_request]
|
2019-12-04 20:25:17 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2020-01-10 01:53:16 +03:00
|
|
|
runs-on: ubuntu-latest
|
2019-12-04 20:25:17 +03:00
|
|
|
steps:
|
2020-01-10 01:39:43 +03:00
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@master
|
2019-12-04 20:25:17 +03:00
|
|
|
- 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
|