Create ccpp.yml
This commit is contained in:
parent
f346c672fb
commit
1b7d136daa
1 changed files with 19 additions and 0 deletions
19
.github/workflows/ccpp.yml
vendored
Normal file
19
.github/workflows/ccpp.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue