Commit Graph

144 Commits

Author SHA1 Message Date
borb 535d9bc7f0 remove unneeded builds 2026-05-03 14:08:13 +03:00
imsys 1699d081d7 Baremetal build fix (#2907)
* Attempt fixing Baremetal build

* Fixes Baremetal build

The first test worked, so applying to the second baremetal build too
2026-03-12 19:09:18 +01:00
Carsten Teibes 48673531dd Add Nintendo Switch port (#2866)
* Initial Nintendo Switch Port

* Switch: Enable CRT shader

* Switch: Some QOL changes
- hack: make the menu accessible with "+"
- Invert Controller buttons A/B X/Y
- Enable network log only for debug builds
- Enable touchscreen mouse emulation
Also add myself to the credits in README

---------

Co-authored-by: Vadim Grigoruk <grigoruk@gmail.com>
2025-11-23 11:57:51 +01:00
Carsten Teibes 085423ff42 Migrate to macos-15-intel github action image (#2865)
The macos-13 image will be removed soon and macos-14-(x)large / x86_64 is not availble for free:
https://github.blog/changelog/2025-09-19-github-actions-macos-13-runner-image-is-closing-down/
2025-11-20 09:55:32 +01:00
Carsten Teibes e9d10fe29b Revamp the 3DS port (#2864)
- fix use of deprecated macro
- move network stuff to platform directory
- ensure all lua is built for 32 bit integers
- clean up build configurations
- use newer docker image
2025-11-20 09:31:26 +01:00
Dania Rifki b3feccf770 Add YueScript as an additional scripting language (#2743)
* Publish Code

* Fixed YueScript build.

* Disabled macro feature which crashes runtime.

* Update YueScript submodule

* Try to fix the "function TIC()..." isn't found bug, no luck so far...

* Fix Demo and Mark

* Format yue.cpp

* Make it work in C99, let's hope this compiles in Win XP et cetera

* Fix Compilation Issues

* Try fixing rpi-baremetal(4) and nintendo-3ds builds

* Try fixing linking

* Reenable Exceptions

* Override YueParser

* Try forcing newer glibc?

* Debugging Build Step

* Update YueScript version

* Simplify build

* Add yue.cpp

* Whoops

* Update YueScript

* Update circle.patch to try to fix the build error

* Try removing -lstdc++fs

* Modify Patch

* Revert Update circle.patch

* ???

* Forgot to git Apply

* Accidentally put it in macOS instead of N3DS

* Remove platform specific configurations for now

* Remove thread_local for N3DS Build

* Use a more reliable way to disable thread_local on N3DS

* Forgot to pass in initial-exec

* Remove build/yuescript-makefile-remove-stdc++fs.patch

* Include libyuescript in the baremetal Makefile

---------

Co-authored-by: Li Jin <dragon-fly@qq.com>
2025-10-20 19:08:09 +02:00
imsys 35bc7f7c2a [.github/workflows] macos-arm64 -DCMAKE_POLICY_VERSION_MINIMUM=3.5 (#2846) 2025-09-20 10:11:53 +02:00
imsys 8071f388b3 [Android] Update gradle and gradlew to v9.0.0 (#2836)
* [Android] Update gradle and gradlew to v9.0.0

As we update gradle-wrapper.jar, it is desirable to confirm the
authenticity.

It can be checked by verifying:
sha256sum gradle/wrapper/gradle-wrapper.jar

to be identical to the one available at:
http://services.gradle.org/distributions/gradle-9.0.0-wrapper.jar.sha256

that should be:

76805e32c009c0cf0dd5d206bddc9fb22ea42e84db904b764f3047de095493f3

* [Android] updates JDK to v17

* [Android] Updates NDK to version r23

* [Android] informs NDK version in gradle file

The newer versions of Gradle requires us to explicitly inform the NDK
version we use.

* readme and comments
2025-09-20 10:08:27 +02:00
imsys b98d07c734 Replace msf_gif submodule with single header (–711 MiB) + macOS build fix (#2833)
* Includes the msf_gif.h in the project instead of using the full repo (saves 711 MiB of disk space)

* fix macos build

CMake Error at vendor/zip/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.
-- Configuring incomplete, errors occurred!

Update the VERSION argument <min> value.  Or, use the <min>...<max>
syntax
to tell CMake that the project requires at least <min> but has been
updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
2025-09-12 18:44:16 +02:00
nesbox 32853aa945 windows build fix 2025-07-05 17:42:06 +02:00
nesbox 11cf33c7da winxp isn't supported by github actions anymore, fixed windows build 2025-07-05 17:40:44 +02:00
Vadim Grigoruk e0e2c39294 mingw, 3ds build fix 2025-05-24 10:25:56 +02:00
Vadim Grigoruk ef023fb539 QuickJS update (#2776) 2025-04-19 15:59:14 +02:00
Miguel dccb45a58e use -O2 and add arm64 build (#2745) 2025-03-01 08:59:16 +01:00
Miguel 7a766a083d enable janet in mingw (#2722) 2024-12-14 13:11:39 +01:00
Miguel 0365ecc05a Use O3 + flto with all but msvc (#2696)
* use O3 with flto

* fix msvc builds

* back to minsizerel in msvc, baremetal and 3ds

* default to static in builds with flto

* use ubuntu 22.04 for linux amd64

* use gcc12 in ubuntu 22.04

* include ubuntu24.04 + gcc14 for linux amd64

* Update build.yml

* Update build.yml

* add required dep for ubuntu24.04

* Update build.yml

* try to force strict aliasing

* revert and try to get latest gcc14

* build with Os + flto to compare

* compile with O2 with flto to compare

* go back to O3+flto as is the faster option

* forgot to use release in android

* use macos13 as 12 is being deprecated

* more platforms

---------

Co-authored-by: Vadim Grigoruk <grigoruk@gmail.com>
2024-11-11 14:27:23 +01:00
Miguel ce24e76341 Update 3ds docker toolchain (#2701)
* update 3ds docker

* try to fix 3ds lua error

* revert and try to fix wren error

* disable lua and scheme for 3ds

* try to fix lua

* try to fix lua

* try to fix lua

* test

* revert

* try to fix lua

* test

* test

* continue

* possible last lua fix

* disable javascript in 3ds

* disable js correctly

* disable python for 3ds

* try to fix script.c

* try to fix another error

* test

* try to fix miniaudio

* test

* test

* test

* test

* test

* test

* try to fix gif errors

* test

* test

* test

* continue

* try with official devkitarm docker image

* test

* clean

* proper miniaudio fix

* mianiaudio version used before

* use cmake to build 3dsx

* use explicit name

* fix 3ds build instructions

* use NINTENDO_3DS from devkitPro cmakery

* fixup build commands

* output to build/bin

* update tested version

---------

Co-authored-by: Dave Murphy <davem@devkitpro.org>
2024-11-11 14:22:32 +01:00
Miguel 3125d4a472 update to latest circle-stdlib (#2697) 2024-10-17 01:52:40 +02:00
Miguel eae8b5561b Fix ci 3ds and rpi builds (#2638)
* try to fix rpi-3ds ci

* possible fix link
2024-07-27 10:09:24 +02:00
Vadim Grigoruk 5d60c02469 build langs separately for wasm 2024-05-25 17:33:25 +02:00
nesbox 3dfc2ed638 #2257: deploy scripts as shared libs 2024-05-19 15:37:46 +02:00
Alice bf5b95cf31 Fix typo in build.yml (#2569)
"dep" -> "deb"
2024-05-06 15:33:47 +02:00
Vadim Grigoruk 505e817280 merge shared api to main branch (#2568) 2024-05-05 17:02:25 +02:00
Alice 712be9420f Compile for MacOS arm64 in CI as well (#2528)
* compile to arm64 macos as well

* more fixes

* fix delete-pro
2024-04-27 08:43:54 +02:00
Alice ebc2c3d530 Update build.yml (#2525)
Fix missing dash
2024-04-23 19:09:03 +02:00
blueloveTH e72b2751c0 Update build.yml 2023-09-28 14:29:11 +08:00
nesbox 4fcfd4e049 build fix 2023-08-06 15:41:02 +02:00
nesbox d37a16c036 mingw CI build optimizations 2023-08-06 15:30:43 +02:00
nesbox 3e32ae7098 #2252: Added NAETT (https://github.com/erkkah/naett) library as a main network library (but with https support) instead of libuv 2023-08-06 13:59:52 +02:00
nesbox cd05d0ab03 bump janet version to 1.29.1 2023-08-02 20:34:38 +02:00
nesbox e7fbd51f37 android build fix 2023-08-01 21:08:03 +02:00
nesbox 0c7cb10ba5 added python to the stubs in CI 2023-05-14 14:00:54 +02:00
Vadim Grigoruk bbd3744aea Merge pull request #2184 from koltenpearson/pocketpy
Python language bindings
2023-05-14 14:35:16 +03:00
nesbox c7c0a7dfa6 fix macos version for CI 2023-05-07 11:11:27 +02:00
Kolten Pearson 8f11f4da6e install g++ as well, also added link flag for libpocketpy.a to baremetal 2023-05-06 10:52:34 -06:00
Kolten Pearson f4928c1cff switched away from using the deprecated rpi toolchains 2023-05-06 10:46:46 -06:00
Kolten Pearson f846f14bad justed noted the custome toolchain cmake file for rpi, probably makes
more sense to work from there
2023-05-06 10:31:38 -06:00
Kolten Pearson c1d3590cfe trying a more direct approach to relinking gcc 2023-05-06 10:23:13 -06:00
Kolten Pearson 3bd6f27270 switched to arm version gcc 8 2023-05-06 10:11:22 -06:00
Kolten Pearson 819f19a208 fixed typo for gcc relinking 2023-05-06 10:03:29 -06:00
Kolten Pearson a8d831d7fe switch active gcc for raspberry pi builds 2023-05-06 09:56:14 -06:00
Kolten Pearson 7fe8d908cf install gcc-8 for the raspberry pi builds 2023-05-06 09:46:08 -06:00
alectroemel 48b813860f add the other builds back in 2023-03-31 13:50:12 -05:00
alectroemel bee3a3fc4a include sdl 2023-03-31 13:36:50 -05:00
alectroemel 1c1d9bdfb8 use msys makefiles generator 2023-03-31 13:10:46 -05:00
alectroemel 6bc46579a9 dont set -G ... just like sdl2? 2023-03-31 13:00:34 -05:00
alectroemel 6abb9fd37f split out make from build 2023-03-31 12:53:58 -05:00
alectroemel 6d03470fe6 install some mingw-w64 packages 2023-03-31 12:41:35 -05:00
alectroemel 0ed2f7a33c use msys2 setup and model after their example 2023-03-31 12:27:54 -05:00
alectroemel 25c139afdd no more msys2 2023-03-31 12:18:24 -05:00