From 1c0cc775732201f4c4d3ee0d6772be786b3b4aa1 Mon Sep 17 00:00:00 2001 From: Uneven Prankster Date: Sun, 15 Oct 2023 21:28:29 -0300 Subject: A lot has certainly happened! --- raylib/.github/workflows/linux_examples.yml | 42 +++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 raylib/.github/workflows/linux_examples.yml (limited to 'raylib/.github/workflows/linux_examples.yml') diff --git a/raylib/.github/workflows/linux_examples.yml b/raylib/.github/workflows/linux_examples.yml new file mode 100644 index 0000000..3ed2dc7 --- /dev/null +++ b/raylib/.github/workflows/linux_examples.yml @@ -0,0 +1,42 @@ +name: Linux Examples + +on: + workflow_dispatch: + push: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/linux_examples.yml' + pull_request: + branches: [ master ] + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/linux_examples.yml' + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup Environment + run: | + sudo apt-get update -qq + 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: Build Library + run: | + cd src + make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=STATIC + cd .. + + - name: Build Examples + run: | + cd examples + make PLATFORM=PLATFORM_DESKTOP -B + cd .. -- cgit v1.2.3