summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/ci_src_examples_linux.yml
diff options
context:
space:
mode:
authorRay <[email protected]>2020-01-09 16:06:58 +0100
committerGitHub <[email protected]>2020-01-09 16:06:58 +0100
commit6f0a4a766396e3485db6f3650e8163c28e6b181e (patch)
treea4cb68bc90f8bbddebb32774f24bffc45fecda55 /.github/workflows/ci_src_examples_linux.yml
parent98f4e06a37c98e9a18fd6a75d50bdd916483f8bb (diff)
downloadraylib-6f0a4a766396e3485db6f3650e8163c28e6b181e.tar.gz
raylib-6f0a4a766396e3485db6f3650e8163c28e6b181e.zip
Rename ccpp.yml to ci_src_examples_linux.yml
Diffstat (limited to '.github/workflows/ci_src_examples_linux.yml')
-rw-r--r--.github/workflows/ci_src_examples_linux.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/ci_src_examples_linux.yml b/.github/workflows/ci_src_examples_linux.yml
new file mode 100644
index 00000000..81b85d2a
--- /dev/null
+++ b/.github/workflows/ci_src_examples_linux.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 libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libxfixes-dev
+ - name: make src
+ run: cd src && make PLATFORM=PLATFORM_DESKTOP
+ - name: make examples
+ run: cd examples && make PLATFORM=PLATFORM_DESKTOP