Skip to content

Add GitLab CI (Linux, Windows, macOS, Android) - #149

Merged
LibretroAdmin merged 1 commit into
libretro:masterfrom
WizzardSK:gitlab-ci
Sep 4, 2026
Merged

Add GitLab CI (Linux, Windows, macOS, Android)#149
LibretroAdmin merged 1 commit into
libretro:masterfrom
WizzardSK:gitlab-ci

Conversation

@WizzardSK

Copy link
Copy Markdown
Contributor

The repo has never had a .gitlab-ci.yml, so no pipeline has ever run and there is no build of this core on the buildbot.

Jobs: linux-x64, linux-i686, linux-aarch64, windows-x64, osx-arm64 and the two 64-bit Android ABIs. Three things the file has to say out loud:

  • the makefile knows platform=win, not the template's win64, and cannot guess a dynarec when it is cross compiled from Linux, so the Windows job passes both;
  • aarch64 gets no dynarec — this fork only carries the armv4le, x86, x86_64 and mipsel backends;
  • Application.mk pins gnu++14: the sources still use register, which the NDK's default C++17 rejects outright.

armeabi-v7a and android-x86 are left commented out with the reason: the NDK's clang refuses the 32-bit dynarecs (the ARM one writes to r7, its frame pointer, from inline asm; the x86 one is not position independent).

Everything enabled here was validated by replaying the jobs — ubuntu:xenial amd64/i386 with gcc-9 and ubuntu:focal arm64 containers, mingw-w64, an Apple Silicon runner, and ndk-build per ABI.

Build linux-x64/i686/aarch64, windows-x64, osx-arm64 and the four Android
ABIs. Two notes carried in the file: the makefile knows platform=win rather
than win64 and cannot guess a dynarec when cross compiled, and aarch64 has
no dynarec backend in this fork.

Application.mk pins gnu++14: dosbox still uses `register`, which the NDK's
default C++17 rejects.
@LibretroAdmin
LibretroAdmin merged commit c5e8936 into libretro:master Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants