Debian Codegraph @

.github/workflows/build_examples_linux.yml

raw symbols SCIP
1 name: Build raylib examples - Linux
2
3 on:
4 workflow_dispatch:
5 push:
6 paths:
7 - 'src/**'
8 - 'examples/**'
9 - '.github/workflows/linux_examples.yml'
10 pull_request:
11 branches: [ master ]
12 paths:
13 - 'src/**'
14 - 'examples/**'
15 - '.github/workflows/linux_examples.yml'
16
17 permissions:
18 contents: read
19
20 jobs:
21 build:
22 runs-on: ubuntu-latest
23 steps:
24 - name: Checkout code
25 uses: actions/checkout@v4
26
27 - name: Setup Environment
28 run: |
29 sudo apt-get update -qq
30 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 libwayland-dev libxkbcommon-dev
31
32 - name: Build Library
33 run: |
34 cd src
35 make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=STATIC
36 cd ..
37
38 - name: Build Examples
39 run: |
40 cd examples
41 make PLATFORM=PLATFORM_DESKTOP -B
42 cd ..