Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2224 commits
Select commit Hold shift + click to select a range
f3958ca
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Feb 26, 2026
178aca0
rlparser: update raylib_api.* by CI
github-actions[bot] Feb 26, 2026
28e40d5
#if reduced as possible (#5600)
maiconpintoabreu Feb 27, 2026
f583674
fix memory corruption in GenImageFontAtlas reallocation (#5602)
konakona418 Feb 27, 2026
950c064
[rcore][android] Replace `android_fopen()` with linker `--wrap=fopen`…
ghera Mar 2, 2026
70a58a6
[platform][glfw][rgfw] Implementing clipboard image linux (#5603)
maiconpintoabreu Mar 2, 2026
0b9239e
REVIEWED: Code formating
raysan5 Mar 2, 2026
8596c94
Add clipboard image example to showcase the chipboard image functiona…
maiconpintoabreu Mar 2, 2026
2c5e7f8
REVIEWED: example: `textures_clipboard_image`
raysan5 Mar 2, 2026
e1113c8
REVIEWED: Fullscreen request #5601
raysan5 Mar 2, 2026
3bea7f5
Added MatrixUnit and MatrixMultiplyValue (#5613)
lamweilun Mar 2, 2026
ea92677
REVIEWED: `TRACELOG()` macro logic
raysan5 Mar 2, 2026
936e8ae
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Mar 2, 2026
416da9a
Revert "REVIEWED: `TRACELOG()` macro logic"
raysan5 Mar 2, 2026
23c8ee8
Update config.h
raysan5 Mar 2, 2026
bf830c3
Update config.h
raysan5 Mar 2, 2026
8e705b1
Update LibraryConfigurations.cmake (#5617)
m039 Mar 3, 2026
9ae34d2
Update ROADMAP.md
raysan5 Mar 3, 2026
b68dbaa
[tools/rexm] Update nextCatIndex (#5616)
CrackedPixel Mar 3, 2026
37a852a
[web] Add clipboard image implementation for web (#5614)
maiconpintoabreu Mar 3, 2026
70a1a57
Remove unnecessary define from raylib_opengl_interop.c (#5618)
m039 Mar 3, 2026
b474646
Formating review, using imperative mode in comments
raysan5 Mar 3, 2026
1d85071
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Mar 3, 2026
1cf278b
Update ROADMAP.md
raysan5 Mar 3, 2026
23f8668
Update CHANGELOG
raysan5 Mar 3, 2026
d0f8997
Update raudio.c
raysan5 Mar 3, 2026
5ada84c
Update rtext.c
raysan5 Mar 3, 2026
23c06bc
Updating raygui for examples
raysan5 Mar 3, 2026
faf4236
Code gardening
raysan5 Mar 4, 2026
e1959a4
rlparser: update raylib_api.* by CI
github-actions[bot] Mar 4, 2026
7167776
Fix Makefile template to support libraylib.web.a (#5620)
Mar 4, 2026
28288fa
Fix MSVC warnings. (#5619)
JeffM2501 Mar 4, 2026
de720a8
[backend/GLFW] Added bounds check (#5621)
CrackedPixel Mar 4, 2026
2eaac95
Check if locs is not null before try to access (#5622)
maiconpintoabreu Mar 4, 2026
eb1e85e
Update rmodels.c
raysan5 Mar 4, 2026
d6926eb
Update CMakeLists.txt
raysan5 Mar 4, 2026
84dc56b
Update README.md
raysan5 Mar 4, 2026
02b592c
[rtext] Add `MeasureTextCodepoints()` for direct measurement of codep…
konakona418 Mar 5, 2026
ea00b97
rlparser: update raylib_api.* by CI
github-actions[bot] Mar 5, 2026
f9ee714
[rcore][android] Add WARNING comment for --wrap=fopen build system re…
ghera Mar 5, 2026
3e926d6
add x11 libraries for raylib as glfw make private (#5625)
maiconpintoabreu Mar 5, 2026
54f6307
[example] cel-shading and outline using inverted hull (#5615)
ggrizzly Mar 6, 2026
c8d1f3e
Make LoadFontFromImage limit its scanning to image dimensions. (#5626)
JoeStrout Mar 6, 2026
12039ba
Update raylib.h
raysan5 Mar 6, 2026
a0ffefc
Update rlgl.h
raysan5 Mar 6, 2026
eed30b6
Update HISTORY.md
raysan5 Mar 6, 2026
1839b3e
Update shaders_cel_shading.c
raysan5 Mar 6, 2026
99cab6d
Update rtext.c
raysan5 Mar 6, 2026
32005b9
Update textures_bunnymark.c
raysan5 Mar 8, 2026
78023ff
Fix memory leak in LoadGLTF when model has no bones (#5629)
victorberdugo1 Mar 9, 2026
d604cd7
Update rmodels.c
raysan5 Mar 9, 2026
2b207be
ADDED: `rlUnloadShader()` #5631
raysan5 Mar 9, 2026
e40ddfa
**WARNING: BREAKING:** REDESIGNED: `rlgl` shader loading API function…
raysan5 Mar 9, 2026
7b1096d
[raylib.h] fix audio pan comment (#5633)
CrackedPixel Mar 10, 2026
6cebf63
Change `GetRenderWidth()` to `GetScreenWidth()` for consistency (#5635)
SardineMilk Mar 10, 2026
ee4f4a2
[examples] Update audio_raw_stream.c (#5637)
dan-hoang Mar 12, 2026
4e360c9
remove duplicate line in makefile (#5640)
CrackedPixel Mar 12, 2026
64e8bfc
remove path override/change for linux (#5641)
CrackedPixel Mar 12, 2026
8a93587
Fix raycasting logic in models_basic_voxel.c (#5643)
SardineMilk Mar 12, 2026
f9ea607
fix error in textinsert, found by github user chrg127 (#5644)
CrackedPixel Mar 12, 2026
c5712db
Update raylib-odin binding license (#5647)
jtorrestx Mar 13, 2026
f83590a
Update BINDINGS.md (#5648)
ArnautDaniel Mar 13, 2026
7b9a2a4
Update HISTORY.md
raysan5 Mar 13, 2026
6ba6df3
Remove trailing spaces
raysan5 Mar 13, 2026
7763da4
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Mar 13, 2026
70cb8d1
[examples] Add `audio_stream_callback` (#5638)
dan-hoang Mar 13, 2026
4b9d802
Adapt build.zig to redesigned raylib build features config system (#5…
Wertual08 Mar 13, 2026
38ed50c
[rcore][android] Fix CMake shared build and improve --wrap WARNING do…
ghera Mar 13, 2026
f89d38b
Resolveed conflicts
raysan5 Mar 13, 2026
a6d5a7f
Update GitHub usernames for contributors
raysan5 Mar 13, 2026
116191f
LibraryConfigurations.cmake: exchanged MATCHES -> STREQUAL in platfo…
Crisspl Mar 15, 2026
8395374
Update HISTORY.md
raysan5 Mar 15, 2026
fbec6b0
ADDED: Most relevant changes for `raylib 6.0`
raysan5 Mar 15, 2026
fd017c0
fixed issue with mouse modes (#5659)
CrackedPixel Mar 15, 2026
2928097
rcore_platform_sdl: Fix `GetTime()` resolution for sdl (#5653)
somamizobuchi Mar 15, 2026
1d9e24e
REVIEWED: `GetTime()`, make it consistent between platforms, consider…
raysan5 Mar 15, 2026
26f329a
fixed copy paste error in makefiles (#5660)
CrackedPixel Mar 15, 2026
dfc3f58
fixed web platform resize events (#5662)
CrackedPixel Mar 15, 2026
ceeaf57
[CHANGELOG] fix github name (#5663)
maiconpintoabreu Mar 16, 2026
4a16dc9
Update build_webassembly.yml
raysan5 Mar 16, 2026
e2aed43
Update examples version to latest `raylib 6.0`
raysan5 Mar 16, 2026
19ec258
Update Makefiles for emsdk version 5.0.x, using required `node 22.16.…
raysan5 Mar 16, 2026
d2be4ac
Update CHANGELOG
raysan5 Mar 16, 2026
7401214
Update audio_stream_callback.c
raysan5 Mar 16, 2026
483d687
Updated examples versions, validated with REXM
raysan5 Mar 16, 2026
e0d3037
Update raylib.h
raysan5 Mar 16, 2026
1eea511
Remove trailing spaces
raysan5 Mar 16, 2026
22e1e86
Update raylib.vcxproj.filters
raysan5 Mar 17, 2026
5cd7202
Update models_rlgl_solar_system.c
raysan5 Mar 17, 2026
93be463
Added missing resource to `audio_module_playing` example #5664
raysan5 Mar 17, 2026
e7d999e
[rlsw] RenderTexture support (#5655)
Bigfoot71 Mar 17, 2026
6ddf9a1
Code review, format tweaks, defined version to 1.5
raysan5 Mar 17, 2026
18756bb
REVIEWED: Software renderer flag, renamed to `GRAPHICS_API_OPENGL_SOF…
raysan5 Mar 17, 2026
fbce5e7
Bump rlgl version to 6.0, after the low-level shaders API redesign, a…
raysan5 Mar 17, 2026
48a34d6
Update rlsw.h
raysan5 Mar 17, 2026
0de2e80
REVIEWED: `GetTime()`, make sure division is with doubles #5668
raysan5 Mar 17, 2026
d657e86
[rlsw] Fix typos, update build scripts, and align style (#5669)
Bigfoot71 Mar 17, 2026
2c39703
RENAMED: `rl_gputex` to `rltexgpu`
raysan5 Mar 18, 2026
29e4b77
RENAMED: `rl_gputex` to `rltexgpu`
raysan5 Mar 18, 2026
f23319d
Update ROADMAP.md
raysan5 Mar 18, 2026
85df4e7
REVIEWED: `rlsw`, use provided library information
raysan5 Mar 18, 2026
528caf8
Added some libraries
raysan5 Mar 18, 2026
2fd058c
Update ROADMAP.md
raysan5 Mar 18, 2026
2a3b28b
Reviewed some comments
raysan5 Mar 18, 2026
da9e881
Fix uninstall process to remove rcamera header file (#5671)
0x00650a Mar 18, 2026
7fef65a
Make fogColor in the fog tutorial a parameter (#5672)
devel60-alt Mar 19, 2026
bca4f83
required change for ESP-IDF 6 (#5674)
georgik Mar 19, 2026
04c5dc4
REVIEWED: PR #5674
raysan5 Mar 19, 2026
7ae46fb
[rlsw] Micro-optimizations, tighter pipeline and cleanup (#5673)
Bigfoot71 Mar 19, 2026
8783e66
Update rlsw.h
raysan5 Mar 19, 2026
8a68587
[rlsw] Remove position attribute from `sw_vertex_t` (#5677)
Bigfoot71 Mar 20, 2026
1b084ff
fixed error in readme, found by discord user the.enemy (#5680)
CrackedPixel Mar 22, 2026
22cc255
Fix Memory out of bounds in [shapes] example - ball physics (#5683)
Jopestpe Mar 23, 2026
83e35ba
[rcore] refactor possible data loss on FileMove() (#5682)
lvntky Mar 23, 2026
1e74aba
WebRGFW: remapping mouse/touch position to canvas pixel coordinates (…
Crisspl Mar 23, 2026
644e4ad
Update rcore.c
raysan5 Mar 23, 2026
c1dbfc8
REVIEWED: PR #5679
raysan5 Mar 23, 2026
7e8aca0
Update textures_raw_data.c
raysan5 Mar 23, 2026
ca1baca
REVIEWED: examples memory allocators, using raylib provided macros
raysan5 Mar 23, 2026
e71633a
Set textureWrapRepeat to avoid issue on web version (#5684)
maiconpintoabreu Mar 23, 2026
6cf71f5
Fix typo: dependant -> dependent in rlgl.h and rexm.c (#5685)
Mar 23, 2026
0f1e14a
Fix typo: dependant -> dependent in rlgl.h and rexm.c (#5685)
Mar 23, 2026
52d2158
Update ROADMAP.md
raysan5 Mar 23, 2026
cb05ef7
[rcore_desktop_rgfw] [emscripten] fix typo (#5687)
Crisspl Mar 23, 2026
5dd4036
Fix UI Cellular Automata (#5688)
JordSant Mar 24, 2026
0f0983c
Remove trailing spaces
raysan5 Mar 25, 2026
bd3a35c
[build.zig.zon] Fix: replace deleted hexops/xcode-frameworks with pkg…
LewisLee26 Mar 26, 2026
a693365
Move DrawModelPoints methods to example - point rendering (#5697)
maiconpintoabreu Mar 26, 2026
d7bd56e
rlparser: update raylib_api.* by CI
github-actions[bot] Mar 26, 2026
51f4741
[rmodel] fix for devices without VAO support (#5692)
psxdev Mar 27, 2026
98d6e24
remove comment (#5696)
bosoni Mar 27, 2026
ba83bd3
simplify `CheckCollisionSpheres` using `Vector3DistanceSqr` (#5695)
Bigfoot71 Mar 27, 2026
8a7aff5
WARNING: BREAKING: REDESIGNED: `TextInsert()`, `TextReplace()`, `Tex…
raysan5 Mar 27, 2026
990a5e0
rlparser: update raylib_api.* by CI
github-actions[bot] Mar 27, 2026
4142c89
Update rcore.c comment (#5700)
bosoni Mar 27, 2026
5fad835
Update rcore.c
raysan5 Mar 28, 2026
8c44ea5
Code gardening
raysan5 Mar 28, 2026
5915584
Fix zig build and minor improvements (#5702)
dotmrjosh Mar 28, 2026
bb78e98
Remove forced normalization of normal vectors in rlNormal3f, assume t…
JeffM2501 Mar 28, 2026
29ded51
Update rlgl.h
raysan5 Mar 28, 2026
fb0f83b
Remove trailing spaces on shaders
raysan5 Mar 29, 2026
da93ec4
Remove trailing spaces
raysan5 Mar 29, 2026
e3dcb14
Update rexm.c
raysan5 Mar 29, 2026
d3cc78d
Update rexm.c
raysan5 Mar 29, 2026
a1bf8d9
Update cgltf.h
raysan5 Mar 29, 2026
0b87a35
Update dr_flac.h
raysan5 Mar 29, 2026
b09da8f
Update dr_mp3.h
raysan5 Mar 29, 2026
adc4c9b
Update dr_wav.h
raysan5 Mar 29, 2026
d5326fe
Update m3d.h
raysan5 Mar 29, 2026
e5f0c9f
Update qoa.h
raysan5 Mar 29, 2026
4c79c68
Update qoi.h
raysan5 Mar 29, 2026
e9231bc
Update stb_image_resize2.h
raysan5 Mar 29, 2026
6c0134b
Create cgltf_write.h
raysan5 Mar 29, 2026
8d70f10
Update CHANGELOG
raysan5 Mar 29, 2026
04f8153
ADDED: Some sample code to export gltf/glb meshes -WIP-
raysan5 Mar 29, 2026
8743e11
Update rmodels.c
raysan5 Mar 29, 2026
b3bf537
Update rexm.c
raysan5 Mar 30, 2026
63beefd
Update Makefile.Web
raysan5 Mar 30, 2026
c7df641
Update text_font_loading.c
raysan5 Mar 30, 2026
a6dc9f9
Update LICENSE.md
raysan5 Mar 30, 2026
7879775
store bytes at global data seg (#5708)
r3g492 Mar 31, 2026
4ca9170
[rcore_rgfw] Updating render resolution as well on SetWindowSize (#5709)
Crisspl Apr 1, 2026
449182b
Update README.md
raysan5 Apr 1, 2026
eb4f1a6
Update ROADMAP.md
raysan5 Apr 1, 2026
4799cab
Update rexm.c
raysan5 Apr 1, 2026
3f7f040
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Apr 1, 2026
12140cd
explicitly state TEXTURE_WRAP_REPEAT for web build (#5711)
r3g492 Apr 1, 2026
5c2dee0
REVIEWED: `LoadDirectoryFiles*()` comments
raysan5 Apr 1, 2026
f36533c
rlparser: update raylib_api.* by CI
github-actions[bot] Apr 1, 2026
bb7b8d7
Example/audio adsr (#5713)
arbipink Apr 4, 2026
ea6292e
REVIEWED: example: `audio_amp_envelope`, code formating to follow ray…
raysan5 Apr 4, 2026
6ff51d3
Update audio_amp_envelope.c
raysan5 Apr 4, 2026
138ef83
[rlsw] Some platform fixes (#5720)
Bigfoot71 Apr 4, 2026
cdff3d7
Update CHANGELOG
raysan5 Apr 4, 2026
92f82b4
Update raylib.h
raysan5 Apr 4, 2026
1122add
Minor format tweak
raysan5 Apr 4, 2026
6ef0044
REVIEWED: Window messages `WM_SIZING`, `WM_SIZE`, `WM_WINDOWPOSCHANGE…
raysan5 Apr 4, 2026
4a6ceb9
[rcore_rgfw] Icon color format fix (#5724)
Crisspl Apr 5, 2026
c4bd4fa
[build][CMake] REVIEWED: DRM software renderer configuration (#5721)
Peter0x44 Apr 5, 2026
d3c6f42
Update for software renderer on DRM #5721
raysan5 Apr 5, 2026
c5fc771
removed the first RL_DEFAULT_SHADER_ATTRIB_LOCATION_BONEMATRICES (#5727)
angshumankishore Apr 5, 2026
05a1445
REDESIGNED: `DrawCircleGradieent()` to use Vector2 as center paramete…
raysan5 Apr 9, 2026
b202421
rlparser: update raylib_api.* by CI
github-actions[bot] Apr 9, 2026
53915d7
Update CHANGELOG
raysan5 Apr 9, 2026
68d5199
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Apr 9, 2026
e24b01b
Update HISTORY.md
raysan5 Apr 9, 2026
8e54b19
Update shapes_basic_shapes.c
raysan5 Apr 9, 2026
ca6f188
Update shaders_shapes_textures.c
raysan5 Apr 9, 2026
fbcc8cd
Update shapes_top_down_lights.c
raysan5 Apr 9, 2026
de95b3a
added gpuready check to gentexturemipmaps (#5747)
CrackedPixel Apr 10, 2026
fe5271c
update raylib.rc to 6.0 (2026) (#5748)
CrackedPixel Apr 12, 2026
ddfbe97
Updated Windows resource file
raysan5 Apr 12, 2026
b359263
update makefile for PLATFORM_MEMORY (#5750)
CrackedPixel Apr 12, 2026
605303f
fix: pthread_mutex_lock called on a destroyed mutex (#5752)
maiconpintoabreu Apr 12, 2026
a5427bc
Update rlsw.h
raysan5 Apr 12, 2026
51d6936
Update Makefile
raysan5 Apr 12, 2026
44e5126
update 2025->2026, 5.5->6.0 (#5754)
CrackedPixel Apr 12, 2026
1339ec6
Update raylib.h
raysan5 Apr 12, 2026
99eaf72
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Apr 12, 2026
970531d
Update BINDINGS.md to add new FreeBASIC port (#5755)
mudhairless Apr 12, 2026
034ffda
[cmake] update cmake for PLATFORM_MEMORY (#5749)
CrackedPixel Apr 13, 2026
019cc88
Updated Notepad++ scripts and autocomplete
raysan5 Apr 13, 2026
dfbaafa
[zig] Adjusting build.zig to run on 0.16.0 (#5758)
maiconpintoabreu Apr 14, 2026
4628915
Update typos/grammar (#5759)
CrackedPixel Apr 15, 2026
0decdcd
update defines for new format etc (#5760)
CrackedPixel Apr 15, 2026
82e980b
Log info about HighDPI content scaling on display initialization
raysan5 Apr 15, 2026
d8ebeb8
Update raymath.h
raysan5 Apr 15, 2026
21897f4
Remap stb_vorbis malloc/free calls to RL_MALLOC/RL_FREE (#5763)
nadav78 Apr 15, 2026
1e43c1d
Revert "Remap stb_vorbis malloc/free calls to RL_MALLOC/RL_FREE (#5763)"
raysan5 Apr 15, 2026
96e3054
Align default values on comments for config variables
raysan5 Apr 15, 2026
86aa095
[raymath] Refactor `QuaternionFromAxisAngle` (#5766)
nilsojunior Apr 16, 2026
49f88dc
Update config.h
raysan5 Apr 16, 2026
6ef36c0
fix examples makefile define (#5767)
CrackedPixel Apr 16, 2026
be768e2
fix issue with gettime (#5772)
CrackedPixel Apr 17, 2026
94f3c09
Update raudio.c
raysan5 Apr 17, 2026
14fe0cb
Update rlgl.h
raysan5 Apr 17, 2026
d116c92
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Apr 17, 2026
7c96c24
Update rcore.c
raysan5 Apr 17, 2026
1cbe438
Update rcore_desktop_rgfw.c
raysan5 Apr 17, 2026
dde8c8e
[build-windows.bat] Update build-windows script (#5769)
areynaldo Apr 17, 2026
f0a043b
[Platform/RGFW] add support for software rendering (#5773)
CrackedPixel Apr 17, 2026
9a3283f
[examples] `shapes_collision_ellipses` (#5722)
Monjaris Apr 18, 2026
88f8ca4
Update rcore_drm.c
raysan5 Apr 18, 2026
4ced756
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Apr 18, 2026
9060ac7
Mouse delta calculation with scaling (#5779)
Itwernme Apr 19, 2026
90e9145
Making it similar to CheckCollisionSpheres to remove pow function (#5…
maiconpintoabreu Apr 19, 2026
cc75203
Update rmodels.c
raysan5 Apr 19, 2026
a32b53f
[build.zig] Refactor (#5764)
HaxSam Apr 19, 2026
d87bf55
Update CHANGELOG
raysan5 Apr 19, 2026
d6445b5
Update core_basic_window.c
raysan5 Apr 19, 2026
a4680fc
Update HISTORY.md
raysan5 Apr 19, 2026
7495a77
Update CHANGELOG
raysan5 Apr 22, 2026
932558c
Update HISTORY.md
raysan5 Apr 22, 2026
dbc56a8
Update HISTORY.md
raysan5 Apr 22, 2026
f220848
Update pascal binding (#5784)
GuvaCode Apr 23, 2026
de8419c
removed web_basic_window mentions (#5782)
CrackedPixel Apr 23, 2026
e9caf5a
BINDINGS: Update raylib-cpp version to 6.0 (#5785)
RobLoach Apr 23, 2026
1c5cd35
Add sola-raylib to BINDINGS.md (#5790)
brettchalupa Apr 24, 2026
3b23200
Update BINDINGS.md to add vala-vapi version update (#5789)
edwood-grant Apr 24, 2026
5608460
add missing UnloadFileData() (#5787)
rigidatoms Apr 24, 2026
2549536
Update rcore.c
raysan5 Apr 24, 2026
07a0564
Update raudio.c
raysan5 Apr 24, 2026
4cae4ba
REVIEWED: `IsModelValid()` #5780
raysan5 Apr 24, 2026
61dd488
[examples] Move window for ball shake (#5791)
Sebbl0508 Apr 24, 2026
d892f3b
Update shapes_ball_physics.c
raysan5 Apr 24, 2026
4ee2013
various rlparser fixes (#5794)
gigamonster256 Apr 24, 2026
386eabb
Update sola-raylib Raylib supported version to 6 (#5795)
brettchalupa Apr 24, 2026
ccc0d74
chore(bindings): Update binding version for raylib-d to 6.0 (#5799)
schveiguy Apr 25, 2026
c2ea6a3
Fix: Add NULL check to CheckCollisionLines (#5802)
bielern Apr 25, 2026
0f98d78
Update README.md
raysan5 Apr 25, 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 Expand Up @@ -28,20 +28,20 @@ jobs:
max-parallel: 1
matrix:
ARCH: ["arm64", "x86_64"]

env:
RELEASE_NAME: raylib-dev_android_api29_${{ matrix.ARCH }}

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

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

- name: Setup Android NDK
id: setup-ndk
uses: nttld/setup-ndk@v1
Expand All @@ -52,15 +52,15 @@ jobs:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}

- name: Setup Environment
run: |
run: |
mkdir build
cd build
mkdir ${{ env.RELEASE_NAME }}
cd ${{ env.RELEASE_NAME }}
mkdir include
mkdir lib
cd ../..

# Generating static + shared library for 64bit arquitectures and API version 29
- name: Build Library
run: |
Expand All @@ -69,7 +69,7 @@ jobs:
make PLATFORM=PLATFORM_ANDROID ANDROID_ARCH=${{ matrix.ARCH }} ANDROID_API_VERSION=29 ANDROID_NDK=${{ env.ANDROID_NDK_HOME }} RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
cd ..
shell: cmd

- name: Generate Artifacts
run: |
cp -v ./src/raylib.h ./build/${{ env.RELEASE_NAME }}/include
Expand All @@ -80,13 +80,15 @@ jobs:
cp -v ./LICENSE ./build/${{ env.RELEASE_NAME }}/LICENSE
cd build
tar -czvf ${{ env.RELEASE_NAME }}.tar.gz ${{ env.RELEASE_NAME }}

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.RELEASE_NAME }}.tar.gz
path: ./build/${{ env.RELEASE_NAME }}.tar.gz

name: ${{ env.RELEASE_NAME }}
path: |
./build/${{ env.RELEASE_NAME }}
!./build/${{ env.RELEASE_NAME }}.tar.gz

- name: Upload Artifact to Release
uses: softprops/action-gh-release@v1
with:
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 All @@ -23,18 +23,18 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Environment
run: |
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 libwayland-dev libxkbcommon-dev

- name: Build Library
run: |
cd src
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=STATIC
cd ..

- name: Build Examples
run: |
cd examples
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 All @@ -13,7 +13,7 @@ on:
- 'src/**'
- 'examples/**'
- '.github/workflows/windows_examples.yml'

permissions:
contents: read

Expand Down
60 changes: 40 additions & 20 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,39 +22,44 @@ 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 }}

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

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

- name: Setup Environment
run: |
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,24 +69,37 @@ 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

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 && matrix.ARCH == 'aarch64'

- name: Generate Artifacts
run: |
cp -v ./src/raylib.h ./build/${{ env.RELEASE_NAME }}/include
Expand All @@ -92,13 +110,15 @@ jobs:
cp -v ./LICENSE ./build/${{ env.RELEASE_NAME }}/LICENSE
cd build
tar -czvf ${{ env.RELEASE_NAME }}.tar.gz ${{ env.RELEASE_NAME }}

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.RELEASE_NAME }}.tar.gz
path: ./build/${{ env.RELEASE_NAME }}.tar.gz

name: ${{ env.RELEASE_NAME }}
path: |
./build/${{ env.RELEASE_NAME }}
!./build/${{ env.RELEASE_NAME }}.tar.gz

- name: Upload Artifact to Release
uses: softprops/action-gh-release@v1
with:
Expand Down
38 changes: 20 additions & 18 deletions .github/workflows/macos.yml → .github/workflows/build_macos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: macOS
name: Build raylib - macOS

on:
workflow_dispatch:
Expand All @@ -23,70 +23,70 @@ jobs:
permissions:
contents: write # for actions/upload-release-asset to upload release asset
runs-on: macos-latest

env:
RELEASE_NAME: raylib-dev_macos

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

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

- name: Setup Environment
run: |
run: |
mkdir build
cd build
mkdir ${{ env.RELEASE_NAME }}
cd ${{ env.RELEASE_NAME }}
mkdir include
mkdir lib
cd ../..

# Generating static + shared library, note that i386 architecture is deprecated
# Defining GL_SILENCE_DEPRECATION because OpenGL is deprecated on macOS
- name: Build Library
run: |
cd src
clang --version

# Extract version numbers from Makefile
brew install grep
RAYLIB_API_VERSION=`ggrep -Po 'RAYLIB_API_VERSION\s*=\s\K(.*)' Makefile`
RAYLIB_VERSION=`ggrep -Po 'RAYLIB_VERSION\s*=\s\K(.*)' Makefile`

# Build raylib x86_64 static
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=STATIC CUSTOM_CFLAGS="-target x86_64-apple-macos10.12 -DGL_SILENCE_DEPRECATION"
mv libraylib.a /tmp/libraylib_x86_64.a
make clean

# Build raylib arm64 static
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=STATIC CUSTOM_CFLAGS="-target arm64-apple-macos11 -DGL_SILENCE_DEPRECATION" -B
mv libraylib.a /tmp/libraylib_arm64.a
make clean

# Join x86_64 and arm64 static
lipo -create -output ../build/${{ env.RELEASE_NAME }}/lib/libraylib.a /tmp/libraylib_x86_64.a /tmp/libraylib_arm64.a

# Build raylib x86_64 dynamic
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED CUSTOM_CFLAGS="-target x86_64-apple-macos10.12 -DGL_SILENCE_DEPRECATION" CUSTOM_LDFLAGS="-target x86_64-apple-macos10.12" -B
mv libraylib.${RAYLIB_VERSION}.dylib /tmp/libraylib_x86_64.${RAYLIB_VERSION}.dylib
make clean

# Build raylib arm64 dynamic
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED CUSTOM_CFLAGS="-target arm64-apple-macos11 -DGL_SILENCE_DEPRECATION" CUSTOM_LDFLAGS="-target arm64-apple-macos11" -B
mv libraylib.${RAYLIB_VERSION}.dylib /tmp/libraylib_arm64.${RAYLIB_VERSION}.dylib

# Join x86_64 and arm64 dynamic
lipo -create -output ../build/${{ env.RELEASE_NAME }}/lib/libraylib.${RAYLIB_VERSION}.dylib /tmp/libraylib_x86_64.${RAYLIB_VERSION}.dylib /tmp/libraylib_arm64.${RAYLIB_VERSION}.dylib
ln -sv libraylib.${RAYLIB_VERSION}.dylib ../build/${{ env.RELEASE_NAME }}/lib/libraylib.dylib
ln -sv libraylib.${RAYLIB_VERSION}.dylib ../build/${{ env.RELEASE_NAME }}/lib/libraylib.${RAYLIB_API_VERSION}.dylib
cd ..

- name: Generate Artifacts
run: |
cp -v ./src/raylib.h ./build/${{ env.RELEASE_NAME }}/include
Expand All @@ -97,13 +97,15 @@ jobs:
cp -v ./LICENSE ./build/${{ env.RELEASE_NAME }}/LICENSE
cd build
tar -czvf ${{ env.RELEASE_NAME }}.tar.gz ${{ env.RELEASE_NAME }}

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.RELEASE_NAME }}.tar.gz
path: ./build/${{ env.RELEASE_NAME }}.tar.gz

name: ${{ env.RELEASE_NAME }}
path: |
./build/${{ env.RELEASE_NAME }}
!./build/${{ env.RELEASE_NAME }}.tar.gz

- name: Upload Artifact to Release
uses: softprops/action-gh-release@v1
with:
Expand Down
Loading