Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2085 commits
Select commit Hold shift + click to select a range
d0a6892
[rcore] `IsMouseButton*()`, random key codes return unexpected result…
jasoncnm Jan 28, 2026
af37fa2
Refactoring based on Coding Style Conventions (#5517)
maiconpintoabreu Jan 28, 2026
8a2da96
Reviewed formating and spacing
raysan5 Jan 28, 2026
de7fc12
REVIEWED: `IsGamepadButton*()` for consistency with key and mouse equ…
raysan5 Jan 28, 2026
08e79a1
Refactoring {0} to { 0 } to follow conventions (#5519)
maiconpintoabreu Jan 29, 2026
d5ae12f
Update raylib_1024x1024.png
raysan5 Jan 29, 2026
e56cdc2
Update raylib_144x144.png
raysan5 Jan 29, 2026
242dfee
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Jan 29, 2026
1aafd3c
fixed win32 vsync flag not being applied (#5521)
mikeemm Jan 31, 2026
403c2cb
trivial: Correct typo in log message. (#5523)
eloj Jan 31, 2026
33dcd62
Added documentation comments for (#5525)
XenoMustache Feb 2, 2026
54b12ed
update cmake for rgfw (#5527)
CrackedPixel Feb 3, 2026
ccfa3f7
fixed an issue when using an empty window title (#5526)
CrackedPixel Feb 3, 2026
4c1efc2
[rcore] Fix native win32 window minimizing/maximizing (#5524)
mikeemm Feb 4, 2026
a96cbe0
Close opened directory (#5529)
alexf91 Feb 4, 2026
d4f6361
refactor to follow the CONVENTIONS.md (#5530)
maiconpintoabreu Feb 4, 2026
f43e049
Refactor removing extra space and add break line for { (#5533)
maiconpintoabreu Feb 5, 2026
3881d2a
Fix: Detect collision if one line is almost vertical (#5510) (#5531)
bielern Feb 5, 2026
4f76b89
REVIEWED: `CheckCollisionLines()`, formating and follow raylib conven…
raysan5 Feb 6, 2026
a6fa8b9
Fix out of bound Memory read in Material.maps (#5534)
Sumethh Feb 6, 2026
b29d6ee
Update BINDINGS.md (#5538)
SabeDoesThings Feb 9, 2026
5a36ce5
[rcore] Implemented SetWindowMaxSize, SetWindowMinSize, and SetWindow…
mikeemm Feb 9, 2026
c0829bc
Add raylib bindings for Wave language (#5539)
LunaStev Feb 9, 2026
c4baa5b
REVIEWED: Comments
raysan5 Feb 9, 2026
49cd2dd
Update rcore.c
raysan5 Feb 9, 2026
eba1fca
Update rcore.c
raysan5 Feb 9, 2026
a654beb
REVIEWED: Comments
raysan5 Feb 9, 2026
f6910bc
Update rcore_drm.c
raysan5 Feb 9, 2026
e67dc15
Update rcore_desktop_glfw.c
raysan5 Feb 9, 2026
9861baf
Update textures_framebuffer_rendering.c
raysan5 Feb 9, 2026
f190c6a
Update rcore.c
raysan5 Feb 9, 2026
84f7578
Update rcore.c
raysan5 Feb 9, 2026
7e59e1d
REVIEWED: Formating
raysan5 Feb 9, 2026
b39cc6b
Update win32_clipboard.h
raysan5 Feb 9, 2026
3b647c8
raymath: wrap float3 and float16 for consistency with other types (#5…
n-s-kiselev Feb 9, 2026
efda35b
Update win32_clipboard.h
raysan5 Feb 9, 2026
4b01c23
[build] Zig master branch compatibility for `build.zig`. (#5520)
dtasada Feb 10, 2026
48ec41f
Update raylib.h
raysan5 Feb 10, 2026
3aced1f
Update rmodels.c
raysan5 Feb 10, 2026
919ad68
rlparser: update raylib_api.* by CI
github-actions[bot] Feb 10, 2026
64848bb
Update BINDINGS.md (#5546)
GuvaCode Feb 11, 2026
85de580
fix(examples): don't bleed fog when on edge (#5547)
vegerot Feb 12, 2026
4e7c38a
fix SDL SetGamepadMappings (#5548)
arlez80 Feb 12, 2026
070082f
REVIEWED: Comments to impersonal format
raysan5 Feb 12, 2026
dcd8130
Update raylib.h
raysan5 Feb 12, 2026
8e81ca0
Update win32_clipboard.h
raysan5 Feb 12, 2026
debbb90
fix extra drawtext() (#5551)
CrackedPixel Feb 14, 2026
8f1421e
fix wrong name (#5552)
CrackedPixel Feb 14, 2026
a78d575
change attenuation distance (#5555)
CrackedPixel Feb 14, 2026
fd40d2b
fix missing alias for PS (#5559)
CrackedPixel Feb 14, 2026
4d6ef19
change on-screen text (#5553)
CrackedPixel Feb 14, 2026
b210d16
fix y-offset casting (#5556)
CrackedPixel Feb 14, 2026
b04d2a2
change d-pad text to shapes (#5557)
CrackedPixel Feb 14, 2026
fb5bc42
update camera pan speed (#5554)
CrackedPixel Feb 14, 2026
1061daf
REVIEWED: Installed libraries #5550
raysan5 Feb 14, 2026
dbca900
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Feb 14, 2026
180c3c1
REVIEWED: `GetImageColor()` #5560
raysan5 Feb 14, 2026
d01f158
REVIEWED: Window initialization on HighDPI monitor (Windows) #5549
raysan5 Feb 15, 2026
059ebaa
REVIEWED: HIghDPI content scaling on macOS
raysan5 Feb 15, 2026
6564cea
Fixed doesn't property load when 1 frame animation. (#5561)
arlez80 Feb 15, 2026
7c48fa9
Update Makefile
raysan5 Feb 15, 2026
b871a55
Init framebuffer using render size (should be same as currentFbo)
raysan5 Feb 17, 2026
4678a54
[rcore][glfw] Fix window scaling on Wayland with GLFW 3.4+ (#5564)
0xPD33 Feb 17, 2026
5bbb2fc
REVIEWED: Wayland checks, using compilation flags when possible #5564
raysan5 Feb 17, 2026
4311df1
Add bone blending animation example (#5543)
dmitrii-brand Feb 17, 2026
95edeec
REVIEWED: example: `models_animation_bone_blending`
raysan5 Feb 17, 2026
1955516
Updated raygui for examples
raysan5 Feb 17, 2026
872cfae
REVIEWED: `LoadDirectoryFilesEx()`, minor tweak #5569
raysan5 Feb 17, 2026
e8ce00d
REVIEWED: `LoadGLTF()`, log warning about draco compression not suppo…
raysan5 Feb 17, 2026
97023de
REVIEWED: `GenImageFontAtlas()`, scale image to fit all characters, i…
raysan5 Feb 17, 2026
0e6cb09
[rmodels] Added implementation of `UpdateModelAnimationBonesWithBlend…
Kirandeep-Singh-Khehra Feb 19, 2026
71607db
Moved easings example to shapes
raysan5 Feb 19, 2026
98c7734
REVIEWED: `models_basic_voxel` example
raysan5 Feb 19, 2026
d40ad48
REVIEWED: examples: moved some examples out of others
raysan5 Feb 19, 2026
781c379
Updated examples, removed others category processing
raysan5 Feb 19, 2026
0a7c756
Update examples_list.txt
raysan5 Feb 19, 2026
b9f16a2
REXM: Update examples collection
raysan5 Feb 19, 2026
dea67fa
REXM: Update examples collection
raysan5 Feb 19, 2026
1f4e1bc
REXM: Update examples collection
raysan5 Feb 19, 2026
1a5e228
REXM: Update examples collection
raysan5 Feb 19, 2026
4a89da3
Update VS2022 examples solution
raysan5 Feb 19, 2026
90dd9ae
REVIEWED: `GenImageFontAtlas()`, no need for the conservative approac…
raysan5 Feb 19, 2026
4a3c49c
REVIEWED: `rlLoadTextureDepth()`, address inconsistencies with WebGL …
raysan5 Feb 19, 2026
ce617cd
Update rlgl.h
raysan5 Feb 20, 2026
0aacd33
[raudio] Remove usage of `ma_data_converter_get_required_input_frame_…
mackron Feb 20, 2026
f33823c
Update textures_screen_buffer.c
raysan5 Feb 20, 2026
d996bf2
Update textures_screen_buffer.c
raysan5 Feb 20, 2026
2454b3e
REVIEWED: `TextReplace()` and `TextLength()`, avoid using `strcpy()`
raysan5 Feb 20, 2026
d03a59c
Update core_directory_files.c
raysan5 Feb 20, 2026
19e6352
Update shapes_easings_testbed.c
raysan5 Feb 20, 2026
d148d95
Fix text input on SDL3 (#5574)
TheKodeToad Feb 20, 2026
0343cb6
Update rcore_desktop_sdl.c
raysan5 Feb 20, 2026
29b9c05
fix example (#5575)
CrackedPixel Feb 20, 2026
09f22f3
REVIEWED: Avoid `const char **` usage (aligned with raylib)
raysan5 Feb 20, 2026
c519e9f
REVIEWED: Simplified `char **` approach
raysan5 Feb 20, 2026
005ff74
Audio: Improvements to device configuration (#5577)
mackron Feb 21, 2026
0c91f23
Audio: Fix a glitch at the end of a sound. (#5578)
mackron Feb 21, 2026
11e3e6e
REVIEWED: Formating, tested sound examples
raysan5 Feb 21, 2026
7a42778
Expose PLATFORM_WEB_RGFW to cmake (#5579)
Crisspl Feb 22, 2026
d2c4aa1
update examples cmakelists (#5580)
CrackedPixel Feb 22, 2026
8b181b1
Fix for PR #5579 (WebRGFW platform exposed to cmake) (#5581)
Crisspl Feb 22, 2026
fbd83ca
[Backend/RGFW] Update RGFW to 2.0.0 (#5582)
CrackedPixel Feb 22, 2026
7ba604e
REXM: RENAME: `models_animation_playing` --> `models_loading_iqm`
raysan5 Feb 22, 2026
cd17ed1
Update models_animation_blending.c
raysan5 Feb 22, 2026
542333b
Update README.md
raysan5 Feb 23, 2026
ae6d34a
Renamed some models examples for consistency
raysan5 Feb 23, 2026
43d8933
Renamed skinning shader variables (new default naming)
raysan5 Feb 23, 2026
e4cbf6b
make glfw consistent (#5583)
CrackedPixel Feb 23, 2026
73cb1d5
Add Dart binding to BINDINGS.md (#5585)
FinnDemonCat Feb 23, 2026
3f36c2d
Update raygui.h
raysan5 Feb 23, 2026
770677d
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Feb 23, 2026
bee3dc6
Update models_animation_blending.vcxproj
raysan5 Feb 23, 2026
d4dc038
WARNING: BREAKING: REDESIGNED: **Animation System** #4606
raysan5 Feb 24, 2026
149062f
rlparser: update raylib_api.* by CI
github-actions[bot] Feb 24, 2026
ade8124
REVIEWED: Right timing
raysan5 Feb 24, 2026
592cac5
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Feb 24, 2026
7f0cedb
Update shaders_shadowmap_rendering.c
raysan5 Feb 24, 2026
ace4d77
New example: textures_magnifying_glass (#5587)
BadRAM Feb 24, 2026
406861a
Update raudio.c
raysan5 Feb 24, 2026
d504e40
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Feb 24, 2026
25e5215
Update models_animation_blending.c
raysan5 Feb 24, 2026
aec6e85
Update raygui.h
raysan5 Feb 24, 2026
29b5844
REVIEWED: Comments and header
raysan5 Feb 24, 2026
4ebe7d6
win32 clipboard: fix for BI_ALPHABITFIELDS narrow support (#5586)
Crisspl Feb 24, 2026
ad82393
Fix reversed window blur/focus logic for web (#5590)
aceiii Feb 25, 2026
ecaa1d3
REVIEWED: Attribute name and location, for consistency
raysan5 Feb 25, 2026
006216b
[raylib.h] renamed SHADER_LOC_VERTEX_INSTANCETRANSFORMS (#5592)
CrackedPixel Feb 25, 2026
b57526d
update makefile and such (#5591)
CrackedPixel Feb 25, 2026
304e489
ANDROID: Fix broken LoadMusicStream due to missing fopen redirect in …
ghera Feb 25, 2026
5361265
WARNING: BREAKING: REDESIGNED: raylib build features config system #4…
raysan5 Feb 26, 2026
7a3cecc
Fix a 64 bit to 32 bit int cast warning. (#5594)
JeffM2501 Feb 26, 2026
72b2066
MSVC warnings (#5595)
JeffM2501 Feb 26, 2026
f23a900
fix memory leak found by maiconpintoabreu (#5598)
CrackedPixel Feb 26, 2026
d869db1
Update raylib.sln
raysan5 Feb 26, 2026
92a1b80
REVIEWED: Flags checks, fixes #5597
raysan5 Feb 26, 2026
c686e08
Update rtextures.c
raysan5 Feb 26, 2026
d8861cc
change defined() to 0/1 check (#5599)
CrackedPixel Feb 26, 2026
05a34b0
Swaping #pragma message with TRACELOG inside the clipboard_image func…
maiconpintoabreu Feb 26, 2026
2b3218c
REVIEWED: Start working on `raylib 6.0` release...
raysan5 Feb 26, 2026
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)
takenoko-pm 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
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 @@ -84,8 +84,10 @@ jobs:
- 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
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
42 changes: 31 additions & 11 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 All @@ -96,8 +114,10 @@ jobs:
- 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
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 Expand Up @@ -101,8 +101,10 @@ jobs:
- 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
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 All @@ -18,43 +18,43 @@ on:
jobs:
build:
runs-on: windows-latest

env:
RELEASE_NAME: raylib-dev_webassembly

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

- name: Setup emsdk
uses: mymindstorm/setup-emsdk@v14
with:
version: 3.1.64
version: 5.0.3
actions-cache-folder: 'emsdk-cache'

- name: Setup Release Version
run: |
echo "RELEASE_NAME=raylib-${{ github.event.release.tag_name }}_webassembly" >> $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 ../..

- name: Build Library
run: |
cd src
emcc -v
make PLATFORM=PLATFORM_WEB EMSDK_PATH="D:/a/raylib/raylib/emsdk-cache/emsdk-main" RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
cd ..

- name: Generate Artifacts
run: |
copy /Y .\src\raylib.h .\build\${{ env.RELEASE_NAME }}\include\raylib.h
Expand All @@ -67,13 +67,15 @@ jobs:
7z a ./${{ env.RELEASE_NAME }}.zip ./${{ env.RELEASE_NAME }}
dir
shell: cmd

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

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

- 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: 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 @@ -135,9 +142,11 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.RELEASE_NAME }}.zip
path: ./build/${{ env.RELEASE_NAME }}.zip

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

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