Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1780 commits
Select commit Hold shift + click to select a range
4caba49
[examples] Added: `shapes_rlgl_color_wheel` example (#5355)
RobinsAviary Nov 18, 2025
9efe127
Update shapes_lines_drawing.c
raysan5 Nov 18, 2025
a4a6812
REXM: REVIEWED: Testing report generation
raysan5 Nov 18, 2025
6993bc7
Update examples_testing_windows.md
raysan5 Nov 18, 2025
dcc9e96
Update rexm.c
raysan5 Nov 18, 2025
e062e38
REVIEWED: examples: Several minor issues
raysan5 Nov 18, 2025
6f4f4cc
Update rexm.c
raysan5 Nov 18, 2025
5da9017
Update examples_testing_windows.md
raysan5 Nov 18, 2025
95d58ed
Update examples_testing_windows.md
raysan5 Nov 18, 2025
8455f9d
Update rexm.c
raysan5 Nov 18, 2025
f3393b8
Update core_clipboard_text.c
raysan5 Nov 18, 2025
46ca641
Update raygui to avoid warnings
raysan5 Nov 18, 2025
06958c9
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Nov 18, 2025
c7c6aaf
Update examples_testing_windows.md
raysan5 Nov 18, 2025
e6ef992
Update shapes_digital_clock.c
raysan5 Nov 18, 2025
48496e2
Update core_input_actions.c
raysan5 Nov 18, 2025
83a167c
Update text_inline_styling.c
raysan5 Nov 18, 2025
1b6303b
Update examples_testing_windows.md
raysan5 Nov 18, 2025
57e22d5
Update rtext.c
raysan5 Nov 18, 2025
f75682f
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Nov 18, 2025
a24e65d
Update examples_testing_windows.md
raysan5 Nov 18, 2025
f512048
Add vibration test button to core_input_gamepad (#5362)
und3f Nov 18, 2025
d5e8ee7
Update core_input_gamepad.c
raysan5 Nov 18, 2025
3f92c39
Fixed typo (#5364)
RobinsAviary Nov 19, 2025
e2233ac
feat: Optimize ImageClearBackground and ImageDrawRectangleRec with do…
ChocolateChipKookie Nov 19, 2025
2453977
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Nov 19, 2025
8081d2b
REDESIGNED: example: `shapes_kaleidoscope`, store lines #5361
raysan5 Nov 19, 2025
33cee11
REXM: REVIEWED: Automated testing for Web
raysan5 Nov 19, 2025
ec82807
Update rtext.c
raysan5 Nov 19, 2025
f21c1cc
Update rtext.c
raysan5 Nov 19, 2025
265fa78
Update rtext.c
raysan5 Nov 19, 2025
d56371c
Update Makefile.Web
raysan5 Nov 19, 2025
e3738c1
REXM: UPDATE: Reviewed all examples requirements
raysan5 Nov 19, 2025
5fdf178
REVIEWED: audio_fft_spectrum_visualizer, not working on web
raysan5 Nov 19, 2025
39e3921
REXM: ADDED: TestLog option for logs processing (without rebuilding)
raysan5 Nov 19, 2025
a6976b1
Create examples_testing_web.md
raysan5 Nov 19, 2025
313659d
Update examples_testing_web.md
raysan5 Nov 19, 2025
43bd2b1
REXM: Report issues if logs can not be loaded
raysan5 Nov 19, 2025
e1d5adb
Update rexm.c
raysan5 Nov 19, 2025
80e164f
Update core_monitor_detector.c
raysan5 Nov 19, 2025
63fb407
Update raygui to avoid warnings
raysan5 Nov 19, 2025
4cef89c
Update rexm.c
raysan5 Nov 19, 2025
bd21d74
Update examples_testing_web.md
raysan5 Nov 19, 2025
0b9f463
REVIEWED: examples: Replace TABS and Remove trailing spaces
raysan5 Nov 19, 2025
d264357
Update rcore_desktop_win32.c
raysan5 Nov 19, 2025
82ad486
Update rexm.c
raysan5 Nov 19, 2025
ee3d65c
Update examples_testing_web.md
raysan5 Nov 19, 2025
1f7f9ab
Ignore examples binaries on Linux (and automated logs)
raysan5 Nov 19, 2025
282c4b0
Minor teaks to run on Linux
raysan5 Nov 19, 2025
5aee9f9
Create examples_testing_linux.md
raysan5 Nov 19, 2025
646e814
Update Makefile
raysan5 Nov 19, 2025
8fcd99c
Update textures_sprite_stacking.c
raysan5 Nov 19, 2025
49868b3
Update examples_testing_linux.md
raysan5 Nov 19, 2025
29173a4
Update .gitignore
raysan5 Nov 19, 2025
67f24b3
Update audio_sound_positioning.c
raysan5 Nov 19, 2025
ba65bd7
WARNING: BREAKING: Redesigned `SetSoundPan()` and `SetMusicPan()` #5350
raysan5 Nov 19, 2025
30cd36a
Update audio_music_stream.c
raysan5 Nov 19, 2025
8161475
rlparser: update raylib_api.* by CI
github-actions[bot] Nov 19, 2025
c017928
REXM: TEST: Support testing running on `PLATFORM_DRM`
raysan5 Nov 19, 2025
c6f4c8e
FIX: Issue on PLATFORM_DRM
raysan5 Nov 19, 2025
0747e9b
Create examples_testing_drm.md
raysan5 Nov 20, 2025
90af210
include malloc.h so the win32 platform can build in MSVC (#5365)
JeffM2501 Nov 20, 2025
4ad9e09
Ran rexm testing for macos (#5366)
MaeBrooks Nov 20, 2025
6820ff6
REVIEWED: example: `shaders_hybrid_rendering`, shaders issues
raysan5 Nov 20, 2025
c22b1d8
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Nov 20, 2025
dddc94d
Update examples_testing_web.md
raysan5 Nov 22, 2025
12cce17
Update textures_screen_buffer.c
raysan5 Nov 22, 2025
97707d7
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Nov 22, 2025
6c3ef8d
Remove trailing spaces
raysan5 Nov 22, 2025
727a90c
REVIEWED: Formatting to follow raylib conventions
raysan5 Nov 22, 2025
84737a9
Update CONVENTIONS.md
raysan5 Nov 22, 2025
f171948
Minor format tweaks
raysan5 Nov 23, 2025
cf5e84c
Update models_skybox_rendering.c
raysan5 Nov 23, 2025
e1b9857
Some TODOs and format reviews
raysan5 Nov 23, 2025
aaa893f
Update rcore.c
raysan5 Nov 23, 2025
17dc2bb
Update rcore.c
raysan5 Nov 23, 2025
7e3d6cb
Update rcore.c
raysan5 Nov 23, 2025
bd36610
Some formatting
raysan5 Nov 24, 2025
fc8049a
rlparser: update raylib_api.* by CI
github-actions[bot] Nov 24, 2025
47a8b55
**NEW**: `PLATFORM_MEMORY` backend
raysan5 Nov 24, 2025
a7ce14e
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Nov 24, 2025
80ed6ea
REXM: RENAME: `audio_fft_spectrum_visualizer` -> `audio_spectrum_visu…
raysan5 Nov 25, 2025
3d9129e
Update rexm.rc
raysan5 Nov 25, 2025
2b051af
[examples] `shapes_kaleidoscope` rewind, forward & reset buttons (#5369)
hugoarnal Nov 25, 2025
8f3cabc
Update rcore.c
raysan5 Nov 25, 2025
c991f9e
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Nov 25, 2025
1ac1309
feat: add elle bindings (#5370)
acquitelol Nov 27, 2025
e273aae
[examples] text_inline_styling: make inline text and background color…
johnmichaeljimenez Nov 29, 2025
9f567e6
Example for creating balls with simple physics simulation (#5372)
davidbuzatto Nov 29, 2025
18e1ec5
Updated example
raysan5 Nov 29, 2025
78661a4
REXM: ADDED: `shapes_ball_physics`
raysan5 Nov 29, 2025
ebce9fa
Update rcore_memory.c
raysan5 Nov 29, 2025
6a048b7
corrected visualstudio project (#5375)
RobinsAviary Nov 29, 2025
a568506
REVIEWED: External libraries `sdefl` and `sinfl` to address #5367
raysan5 Nov 30, 2025
4724f7c
REVIEWED: Comments for `UpdateSound()` specifying expected data forma…
raysan5 Nov 30, 2025
4d9df33
rlparser: update raylib_api.* by CI
github-actions[bot] Nov 30, 2025
3ba186f
[examples] Added: `shapes_penrose_tile` (#5376)
davidbuzatto Dec 1, 2025
d13314f
Update core_window_flags.c
raysan5 Dec 2, 2025
d3addad
REVIEWED: example: `shapes_penrose_tile` formating
raysan5 Dec 2, 2025
ed5da45
Update LICENSE.md #5380
raysan5 Dec 2, 2025
1bbc868
Fixed some typos and mispellings (#5381)
Auios Dec 2, 2025
9445676
replace sprintf with snprintf (#5382)
Auios Dec 2, 2025
78a81bf
Fix ToggleBorderlessFullscreen() Not Hiding Taskbar (#5383)
XenoMustache Dec 2, 2025
b1f8cde
[examples] Added: `text_strings_management` (#5379)
davidbuzatto Dec 3, 2025
68befcc
Update shapes_penrose_tile.c
raysan5 Dec 3, 2025
95c4efd
Update comment on shapes_penrose_tile.c (#5384)
rayumie Dec 3, 2025
983efae
Expose RGFW to cmake (#5386)
Sethbones Dec 3, 2025
561cc27
[rModels] Support 16 bit vec3 values in gltf reader (#5388)
JeffM2501 Dec 6, 2025
f9899a7
Reviewed code formating
raysan5 Dec 6, 2025
fd88309
fix newer NDK version compiling errors (#5389)
Sethbones Dec 6, 2025
8115b7e
Update rmodels.c
raysan5 Dec 6, 2025
215ad78
Fix build.zig typos (#5390)
spineda2019 Dec 9, 2025
366300a
[examples] Add `shaders_game_of_life` (#5394)
JordSant Dec 9, 2025
efeccfe
[examples] Add `textures_cellular_automata` (#5395)
JordSant Dec 9, 2025
be6007b
fix: sha1 computation on messages longer than 31 bytes (#5397)
gmitch215 Dec 9, 2025
19a1683
REXM: Updated examples
raysan5 Dec 9, 2025
91ac3cc
FIX: `LoadRandomSequence()`, using `GetRandomValue()` #5393
raysan5 Dec 9, 2025
3adfde4
REVIEWED: `rlLoadTeexture()`, max mipmap levels to use #5400
raysan5 Dec 10, 2025
f2a900a
[rcore] Fix modulo bias in `GetRandomValue()` (#5392)
Marcos-D Dec 10, 2025
bc20573
REVIEWED: `GetRandomValue()`, explained the new approach to get mor…
raysan5 Dec 10, 2025
5e8118d
Update shaders_game_of_life.c
raysan5 Dec 10, 2025
dad93ab
REXM: Ignore some warnings on GCC/Clang
raysan5 Dec 10, 2025
f3f02b3
REXM: examples validation and update
raysan5 Dec 10, 2025
2d8e346
Update update_examples.yml
raysan5 Dec 10, 2025
71a35f6
Update rexm.c
raysan5 Dec 11, 2025
2a56654
ADDED: Multiply security checks to avoid crashes on wrongly provided …
raysan5 Dec 11, 2025
ae438e8
rlparser: update raylib_api.* by CI
github-actions[bot] Dec 11, 2025
6f7cd3a
[core] Camera2d comment updates (#5401)
JeffM2501 Dec 11, 2025
8fa5f1f
[examples] Fixed `shaders_game_of_life` for web (#5399)
JordSant Dec 11, 2025
2853b28
REVIEWED: Avoid program crash if GPU data is tried to be loaded befor…
raysan5 Dec 11, 2025
b465b4e
RENAMED: Variable names for consistency, `textLength` (length in byte…
raysan5 Dec 11, 2025
9c04b1d
REVIEWED: Store canvas name id at platform initialization
raysan5 Dec 13, 2025
c96669e
REVIEWED: Webpage reference comments starting with `REF:`, more consi…
raysan5 Dec 13, 2025
6f5cabf
Fix misleading example text. (#5409)
Kaluub Dec 14, 2025
5025009
REVIEWED: Make sure all variables are initialized on definition, prio…
raysan5 Dec 14, 2025
9a337f3
ADDED: Support software renderer on Web, blitting framebuffer data di…
raysan5 Dec 14, 2025
a0fd5ab
Update rmodels.c
raysan5 Dec 14, 2025
8d246fd
Fix EXTERNAL_CONFIG_FLAGS being defined even when no custom config is…
olaron Dec 14, 2025
d74556d
Modify text_words_alignment.c (#5411)
Luca-coder07 Dec 15, 2025
cbe3175
Fix #5405
raysan5 Dec 15, 2025
615fc36
Fix #5406
raysan5 Dec 15, 2025
cf0d6fc
REVIEWED: Alignment with other platforms
raysan5 Dec 15, 2025
1c7240a
Revert "REVIEWED: Alignment with other platforms"
raysan5 Dec 16, 2025
f031b2f
Alignment with other platform backends, avoid unneeded includes
raysan5 Dec 16, 2025
33adda1
fixed build errors with zig. now compatible with zig master 0.16.0-de…
dtasada Dec 16, 2025
1c94e94
[rcore] Implement `FLAG_WINDOW_ALWAYS_RUN` on Android (#5414)
caszuu Dec 16, 2025
7a5e8aa
Update rcore_android.c
raysan5 Dec 16, 2025
80ad96a
Fix #5413
raysan5 Dec 16, 2025
7553e9d
REVIEWED: Gamepads on latest `SDL2 2.32.8` and `SDL3 3.3.6` #5403
raysan5 Dec 16, 2025
6d562e5
REVIEWED: HiggDPI content scaling on changing monitors with different…
raysan5 Dec 17, 2025
4b76009
REVIEWED: Window scaling with HighDPI on macOS #5059
raysan5 Dec 17, 2025
ca578b8
Update raylib.sln
raysan5 Dec 18, 2025
720dd22
REVIEWED: `rlLoadTexture()`, un complete texture do to issue on mipma…
raysan5 Dec 18, 2025
66392fe
REVIEWED: `rlGetPixelDataSize()`, correct compressed data size calcul…
raysan5 Dec 18, 2025
f16fb06
Update rcore_template.c
raysan5 Dec 19, 2025
13f9112
Update rcore_desktop_sdl.c
raysan5 Dec 19, 2025
b944686
REXM: RENAMED: `core_high_dpi` --> `core_highdpi_demo`
raysan5 Dec 20, 2025
3212bec
Update BINDINGS.md (#5421)
SabeDoesThings Dec 21, 2025
8516750
Remove internal function
raysan5 Dec 22, 2025
e4baf68
Update rtext.c
raysan5 Dec 22, 2025
f27f2d0
REVIEWED: HighDPI support on macOS (when requested by app)
raysan5 Dec 22, 2025
aa2884b
Update rcore_desktop_glfw.c
raysan5 Dec 22, 2025
6a701b2
fix android SetWindowState (#5424)
caszuu Dec 23, 2025
0a4583c
[rl_gputex.h] Possibly fixed the swizzling in `rl_load_dds_from_memor…
msmith-codes Dec 23, 2025
ddb827f
Fixed LoadCodepoints declaring a new local variable shadowing `codpoi…
KiviTK Dec 24, 2025
a1e84ca
RGFW also requires RGBA8 images as window icons, as raylib already re…
Crisspl Dec 24, 2025
05f42aa
Update core_highdpi_testbed.c
raysan5 Dec 24, 2025
ced8433
Update rl_gputex.h
raysan5 Dec 24, 2025
9103f6e
ADDED: New platform backend for Web: `Emscripten`, not dependant on G…
raysan5 Dec 24, 2025
fc843dc
Create SECURITY.md
raysan5 Dec 24, 2025
20dd464
REVIEWED: Potential security concerns while copying unbounded text da…
raysan5 Dec 24, 2025
1015021
Fixed FLAG_IS_SET to check if all bits in the flag are set in the val…
vushu Dec 24, 2025
5e14ac5
#5387 - Fix keyboard input detected as gamepad on some Android device…
kellemar Dec 26, 2025
aee6734
fix: set correct default axes for gamepads that are not connected (in…
LeapersEdge Dec 26, 2025
64bd27b
Update rcore_desktop_glfw.c
raysan5 Dec 26, 2025
25a54d8
Update rcore_desktop_win32.c
raysan5 Dec 26, 2025
84dfe6a
[rmodels] Fix glTF animation framerate calculation (#4472) (#5445)
TheLazyIndianTechie Dec 27, 2025
538bf82
Update README.md
raysan5 Dec 27, 2025
e4491b4
Update README.md
raysan5 Dec 27, 2025
05f5143
Update README.md
raysan5 Dec 27, 2025
da1a766
REMOVED: `CORE.Window.fullscreen`, using available flag instead
raysan5 Dec 28, 2025
37bc3f5
REMOVED: `SetupFramebuffer()`, most platforms do not need it any more
raysan5 Dec 28, 2025
1d8e011
Update rcore_drm.c
raysan5 Dec 28, 2025
8cfb99f
Minor comment tweaks
raysan5 Dec 28, 2025
297dcc0
Update core_highdpi_testbed.c
raysan5 Dec 28, 2025
2cf8983
WARNING: REDESIGNED: Fullscreen modes, use current display resolution
raysan5 Dec 28, 2025
11c248a
Update rcore_web.c
raysan5 Dec 28, 2025
c0c8ee9
Update rcore_desktop_glfw.c
raysan5 Dec 28, 2025
4176c51
Update rcore_desktop_glfw.c
raysan5 Dec 28, 2025
8871d76
Update core_highdpi_testbed.c
raysan5 Dec 28, 2025
8a75439
REVIEWED: Fullscreen modes on Linux (X11 over XWayland)
raysan5 Dec 28, 2025
6450a48
Update core_highdpi_testbed.c
raysan5 Dec 28, 2025
890ca8d
REVIEWED: `GetWindowPosition()`, return internal value
raysan5 Dec 28, 2025
a334a54
Update rcore_desktop_glfw.c
raysan5 Dec 28, 2025
eb3cc18
REVIEWED: FIXED: Windows fullscreen, after breaking it due to X11/Way…
raysan5 Dec 28, 2025
8f83460
Add chicken scheme to BINDINGS.md (#5449)
meowstr Dec 28, 2025
58d414b
REVIEWED: `InitPlatform()`, code simplification
raysan5 Dec 29, 2025
00f42e4
[rcore] [android] fixed gesture system not reporting GESTURE_NONE (#5…
padmadevd Dec 29, 2025
1c6f683
[rcore][drm] Improved touch input handling and multitouch support, cl…
MULTidll Dec 29, 2025
2b48cf6
Formating review
raysan5 Dec 29, 2025
7523738
Add hilbert curve example (#5454)
hmz-rhl Dec 30, 2025
6dfaf9f
REVIEWED: example `shapes_hilbert_curve` #5454
raysan5 Dec 30, 2025
ebf2f61
Delete core_input_keyboard_gamepad_test.c
raysan5 Dec 30, 2025
6e70dec
Update minshell.html
raysan5 Dec 30, 2025
fa1d4eb
Update shapes_hilbert_curve.c
raysan5 Dec 30, 2025
f260f5f
Update Makefile
raysan5 Dec 30, 2025
695f353
Update Makefile.Web
raysan5 Dec 30, 2025
4054fc4
Remove stdio.h unused header (#5456)
Luca-coder07 Dec 30, 2025
0c3e10b
REVIEWED: `FileExists()`, using macro
raysan5 Dec 30, 2025
8c83dc7
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Dec 30, 2025
9b183e0
REXM: Update examples and reports
raysan5 Dec 30, 2025
e534f14
Fix window width calculation by adding wOffset (#5457)
CosmosShell Dec 31, 2025
4af95a3
Use eglGetPlatformDisplayEXT on DRM platform for Mali compatibility (…
kellemar Dec 31, 2025
25ce646
Added SSE to MatrixMultiply. (#5427)
mcdubhghlas Dec 31, 2025
02cca28
REVIEWED: `eglGetPlatformDisplay()` usage
raysan5 Dec 31, 2025
66755da
REVIEWED: `eglGetPlatformDisplay()` usage
raysan5 Dec 31, 2025
c124f25
REVIEWED: SIMD instrinsics must be explicitly enabled by developer, o…
raysan5 Dec 31, 2025
0133a4e
Make CameraMove up and right work with Z up cameras like the other fu…
JeffM2501 Dec 31, 2025
2377506
Update rcamera.h
raysan5 Dec 31, 2025
83377a3
Update examples_list.txt
raysan5 Dec 31, 2025
f805e6c
REXM: Update `Makefile.Web` before trying to rebuild new example for web
raysan5 Dec 31, 2025
ab1d9b3
REXM: Check example exists (compilation worked) before trying to run it
raysan5 Dec 31, 2025
cac02ab
REXM: REVIEWED: Add new example to collection list at the end of its …
raysan5 Dec 31, 2025
95f72b1
REVIEWED: `TextReplace()`, revert breaking change, needs to be review…
raysan5 Dec 31, 2025
eb4ad50
make sure that our up vector really is up in an axis before picking a…
JeffM2501 Dec 31, 2025
909f040
Remove trailing spaces
raysan5 Jan 1, 2026
5a3391f
[rtext] Fix multiple security vulnerabilities in font loading (#5433,…
oneafter Jan 1, 2026
c07d075
REVIEWED: Security checks formatting and comments
raysan5 Jan 1, 2026
c9a456e
Add DenoRaylib550 binding to BINDINGS.md (#5462)
JJLDonley Jan 2, 2026
980e4d0
Use the size of the texture as the V scale so repeatable textures wor…
JeffM2501 Jan 2, 2026
416af51
Update year to 2026
raysan5 Jan 2, 2026
ca89934
Update year to 2026
raysan5 Jan 2, 2026
942f93d
fix(build): do not use != assignment in Makefiles (#5464)
sleeptightAnsiC Jan 2, 2026
c92de5f
REVIEWED: Comments about intrinsics support #5316
raysan5 Jan 2, 2026
9fe51a6
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Jan 2, 2026
f67e70b
Fix typecast warnings in rcore (#5466)
JeffM2501 Jan 3, 2026
b00cbda
Cleanup warnings in examples (#5467)
JeffM2501 Jan 3, 2026
a44157c
[example] Added textures_frame_buffer_rendering (#5468)
jackboakes Jan 3, 2026
c4b11a3
Fix DrawMeshInstanced breaking if instanceTransform is unused (#5469)
al13n321 Jan 3, 2026
af544c2
[rcore] Fix touch position automation event handling (#5470)
ssszcmawo Jan 3, 2026
35fc8ec
Update models_decals.c
raysan5 Jan 3, 2026
3678c2d
REMOVE: `TRACELOGD()`, hardly ever used
raysan5 Jan 5, 2026
c78ac65
Don't require a M3d animation only file to have a mesh. There are val…
JeffM2501 Jan 6, 2026
23bc037
Revert change, trying to follow DRM implementation but not needed on …
raysan5 Jan 7, 2026
c256f14
added saving to memory buffer and SaveFileData for binary files (#5476)
ssszcmawo Jan 7, 2026
229f826
Reviewed change #5476
raysan5 Jan 7, 2026
5e1f5d5
examples/models: optimize collision check in first_person_maze (#5478)
pauldahacker Jan 7, 2026
c814625
Update models_first_person_maze.c
raysan5 Jan 7, 2026
5398b8c
Update rexm.c
raysan5 Jan 7, 2026
0bcf79c
[#5455] Fix for: Fix window width calculation by adding wOffset (#5480)
Crisspl Jan 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
name: Analyze raylib with CodeQL

on:
workflow_dispatch:
Expand All @@ -26,7 +26,7 @@ jobs:
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners
# Consider using larger runners for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-20.04' }}
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -90,7 +90,7 @@ jobs:
cmake --build . --config $BUILD_TYPE

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
upload: false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Android
name: Build raylib - Android

on:
workflow_dispatch:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CMakeBuilds
name: Build raylib CMake - Windows+Linux

on:
workflow_dispatch:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linux Examples
name: Build raylib examples - Linux

on:
workflow_dispatch:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows Examples
name: Build raylib examples - Windows

on:
workflow_dispatch:
Expand Down
36 changes: 27 additions & 9 deletions .github/workflows/linux.yml → .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linux
name: Build raylib - Linux

on:
workflow_dispatch:
Expand All @@ -22,22 +22,28 @@ jobs:
build:
permissions:
contents: write # for actions/upload-release-asset to upload release asset
runs-on: ubuntu-20.04
strategy:
fail-fast: false
max-parallel: 1
matrix:
bits: [32, 64]
include:
- bits: 32
ARCH: "i386"
ARCH_NAME: "i386"
COMPILER_PATH: "/user/bin"
COMPILER_PATH: "/usr/bin"
runner: "ubuntu-latest"
- bits: 64
ARCH: "x86_64"
ARCH_NAME: "amd64"
COMPILER_PATH: "/user/bin"
COMPILER_PATH: "/usr/bin"
runner: "ubuntu-latest"
- bits: 64
ARCH: "aarch64"
ARCH_NAME: "arm64"
COMPILER_PATH: "/usr/bin"
runner: "ubuntu-24.04-arm"

runs-on: ${{ matrix.runner }}
env:
RELEASE_NAME: raylib-dev_linux_${{ matrix.ARCH_NAME }}

Expand All @@ -54,7 +60,6 @@ jobs:
- name: Setup Environment
run: |
sudo apt-get update -qq
sudo apt-get install gcc-multilib
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
mkdir build
cd build
Expand All @@ -64,23 +69,36 @@ jobs:
mkdir lib
cd ../../../raylib
# ${{ matrix.ARCH }}-linux-gnu-gcc -v

- name: Setup Environment (x86)
run : |
sudo apt-get install gcc-multilib
if: matrix.bits == 32 && matrix.ARCH == 'i386'

# TODO: Support 32bit (i386) static/shared library building
- name: Build Library
- name: Build Library (32-bit)
run: |
cd src
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" CUSTOM_CFLAGS="-m32" -B
# make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
cd ..
if: matrix.bits == 32

- name: Build Library
- name: Build Library (64-bit x86)
run: |
cd src
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
cd ..
if: matrix.bits == 64 && matrix.ARCH == 'x86_64'

- name: Build Library (64-bit ARM)
run: |
cd src
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
cd ..
if: matrix.bits == 64
if: matrix.bits == 64 && matrix.ARCH == 'aarch64'

- name: Generate Artifacts
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: macOS
name: Build raylib - macOS

on:
workflow_dispatch:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: WebAssembly
name: Build raylib - WebAssembly

on:
workflow_dispatch:
Expand Down Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup emsdk
uses: mymindstorm/setup-emsdk@v14
with:
version: 3.1.64
version: 3.1.71
actions-cache-folder: 'emsdk-cache'

- name: Setup Release Version
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows
name: Build raylib - Windows

on:
workflow_dispatch:
Expand Down Expand Up @@ -28,41 +28,48 @@ jobs:
max-parallel: 1
matrix:
compiler: [mingw-w64, msvc16]
bits: [32, 64]
ziptarget: [ win32, win64, winarm64 ]
include:
- compiler: mingw-w64
bits: 32
ARCH: "i686"
WINDRES_ARCH: pe-i386
ziptarget: "win32"
- compiler: mingw-w64
bits: 64
ARCH: "x86_64"
WINDRES_ARCH: pe-x86-64
ziptarget: "win64"
- compiler: msvc16
bits: 32
ARCH: "x86"
VSARCHPATH: "Win32"
VSARCHPATH: "Win32"
ziptarget: "win32"
- compiler: msvc16
bits: 64
ARCH: "x64"
ARCH: "x64"
VSARCHPATH: "x64"
ziptarget: "win64"
- compiler: msvc16
ARCH: "ARM64"
VSARCHPATH: "ARM64"
ziptarget: "winarm64"
exclude:
- compiler: mingw-w64
ziptarget: winarm64 # We don't build arm64 with mingw-w64 yet

env:
RELEASE_NAME: raylib-dev_win${{ matrix.bits }}_${{ matrix.compiler }}
RELEASE_NAME: raylib-dev_${{ matrix.ziptarget }}_${{ matrix.compiler }}
GNUTARGET: default

steps:
- name: Checkout
uses: actions/checkout@master

- name: Setup Release Version
run: |
echo "RELEASE_NAME=raylib-${{ github.event.release.tag_name }}_win${{ matrix.bits }}_${{ matrix.compiler }}" >> $GITHUB_ENV
echo "RELEASE_NAME=raylib-${{ github.event.release.tag_name }}_${{ matrix.ziptarget }}_${{ matrix.compiler }}" >> $GITHUB_ENV
shell: bash
if: github.event_name == 'release' && github.event.action == 'published'

- name: Setup Environment
run: |
run: |
dir
mkdir build
cd build
Expand Down Expand Up @@ -90,8 +97,8 @@ jobs:
shell: cmd
if: |
matrix.compiler == 'mingw-w64' &&
matrix.bits == 32
matrix.arch == 'i686'

- name: Build Library (MinGW-w64 64bit)
run: |
cd src
Expand All @@ -105,7 +112,7 @@ jobs:
shell: cmd
if: |
matrix.compiler == 'mingw-w64' &&
matrix.bits == 64
matrix.arch == 'x86_64'

- name: Build Library (MSVC16)
run: |
Expand Down Expand Up @@ -137,7 +144,7 @@ jobs:
with:
name: ${{ env.RELEASE_NAME }}.zip
path: ./build/${{ env.RELEASE_NAME }}.zip

- name: Upload Artifact to Release
uses: softprops/action-gh-release@v1
with:
Expand Down
74 changes: 37 additions & 37 deletions .github/workflows/parse.yml → .github/workflows/parse_api.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
name: Parse raylib_api
on:
workflow_dispatch:
push:
paths:
- "src/raylib.h"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update parse files
working-directory: parser
run: |
make raylib_api
mv raylib_api.* output
- name: Diff parse files
id: diff
run: |
git add -N parser
git diff --name-only --exit-code
continue-on-error: true
- name: Commit parse files
if: steps.diff.outcome == 'failure'
run: |
set -x
git config user.email "github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git add parser
git commit -m "Update raylib_api.* by CI"
git push
name: Parse raylib API

on:
workflow_dispatch:
push:
paths:
- "src/raylib.h"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Update parse files
working-directory: tools/rlparser
run: |
make raylib_api
mv raylib_api.* output

- name: Diff parse files
id: diff
run: |
git add -N tools/rlparser/output
git diff --name-only --exit-code
continue-on-error: true

- name: Commit parse files
if: steps.diff.outcome == 'failure'
run: |
set -x
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add tools/rlparser/output
git commit -m "rlparser: update raylib_api.* by CI"
git push
Loading