Yukihiro "Matz" Matsumoto
32200f1eb9
build_config/no-float.rb: test build for MRB_NO_FLOAT
...
mruby allows to disable floating point numbers. We have add a build
configuration to test mruby build without floating point numbers.
2025-03-09 17:14:46 +09:00
esotericpig
bfc9742848
Add Emscripten toolchain & build_config
2025-03-07 12:39:54 -10:00
dearblue
d946c3e264
Don't include deleted mruby-print
2025-02-02 21:13:11 +09:00
Yukihiro "Matz" Matsumoto
171847a99a
build_config/playstationportable.rb: remove obsolete mruby-print gem
2025-01-23 22:02:24 +09:00
dearblue
90ab714fda
Adjusting indentation
2025-01-20 22:51:36 +09:00
Yukihiro "Matz" Matsumoto
583214f452
build_config: remove MRB_UTF8_STRING from full-core configurations
...
- host-debug
- ci/gcc-clang
Since it is automatically turned on by mruby-encoding.
2025-01-16 09:18:14 +09:00
Diamond Rivero
7fa467eb40
Add initial playstation portable crossbuild
2025-01-11 08:28:06 +08:00
dearblue
ce1abfb2c9
Change MRB_WITH_IO_PREAD_PWRITE configuration name
...
Change to `MRB_USE_IO_PREAD_PWRITE` for consistency with mruby configuration macros.
Similarly, `MRB_WITHOUT_IO_PREAD_PWRITE` is changed to `MRB_NO_IO_PREAD_PWRITE`.
The previous names are available for compatibility but are deprecated.
2024-12-12 22:18:34 +09:00
vickash
8fbc809614
milkvduo: update GPIO gem url
2024-10-27 17:37:33 -04:00
vickash
e99f605458
milkv config: Add directive for board variant, and optional wiringX mrbgem
2024-10-06 12:27:12 -04:00
vickash
115a739059
milkv config: forgot to remove "-L" in linker paths taken from official Makefile
2024-10-06 09:54:41 -04:00
vickash
d2878ef47f
Comment out test-inline-struct in milv_duo config
2024-10-06 08:33:21 -04:00
vickash
491b7685db
Add build config for Milk-V Duo (RISC-V Linux) board
2024-10-06 00:26:07 -04:00
dearblue
0fcf54b47d
Allow to change the output directory name of the libmruby file
...
Add the `MRuby::Build#libdir_name` accessor and the `MRUBY_SYSTEM_LIBDIR_NAME` environment variable.
Resolved #6240
2024-06-09 22:49:46 +09:00
John Bampton
19d0ea803d
Fix pre-commit failure from prettier
2023-12-31 21:57:58 +10:00
SiZiOUS
f81b7a3a1f
dreamcast_shelf build config: complete overhaul
...
This configuration is used to support the Sega Dreamcast system.
mruby is now officially supported as a KallistiOS Port in kos-ports.
See: https://dreamcast.wiki/Using_Ruby_for_Sega_Dreamcast_development
2023-12-25 21:40:37 +00:00
dearblue
41cce1561f
Brush up build_config/host-shared.rb file
...
Summary:
- VisualC++ does not supported.
- `cc.flags` must maintain array objects.
2023-10-25 21:58:28 +09:00
Yuji Yokoo
2b9287dbc4
Add build_config.rb for Nintendo Wii
2023-10-22 00:07:22 +10:30
Ray Chason
853b25972e
Build configuration for MS-DOS
2023-06-17 17:20:20 -04:00
Robert Rowe
bcb5674676
Update Android building
...
New minimum SDK. NDK longer supports mips, plain armeabi, nor GCC. Fix tooling.
2023-05-25 19:45:14 -07:00
dearblue
0e00d8e224
Integrate mruby-binding-eval into mruby-eval
...
Currently mruby-eval depends on mruby-binding (formerly mruby-binding-core).
Also, `Kernel#eval` can accept `binding` objects.
With this in mind, it would be better if `Binding#eval` could also be handled by `mrbgems/mruby-eval`.
2023-04-16 21:44:00 +09:00
Yukihiro "Matz" Matsumoto
501b22a2ac
mruby-binding-eval: renamed from mruby-binding
...
Since this gem only provides `Binding#eval`.
2023-03-22 15:25:23 +09:00
John Bampton
41572d71b6
Remove blank line from the top of Ruby files
2022-12-29 14:29:48 +10:00
John Bampton
3ba388fc78
Remove unneeded return keyword from last line in Ruby functions
2022-12-27 11:42:48 +10:00
John Bampton
ea8964ef35
ruby: standardize whitespace
2022-10-31 16:25:56 +10:00
John Bampton
8208a836ff
Fix spelling: floating point -> floating-point
...
https://en.wikipedia.org/wiki/Floating-point_arithmetic
2022-10-27 00:09:12 +10:00
SAkira a.k.a. Akira Suzuki
4610fa55b9
Enabled building for Android again with NDK 25.0.
2022-08-03 08:23:54 +09:00
Yukihiro "Matz" Matsumoto
16cc6f3292
build_config/host-debug.rb: enable MRB_UTF8_STRING; ref #5727
2022-06-24 13:25:46 +09:00
Yukihiro "Matz" Matsumoto
e3c20b7319
build_config: use full-core gembox on host configuration (except default)
2022-04-06 22:51:47 +09:00
Yukihiro "Matz" Matsumoto
9f0410789d
boxing_nan.h: allow MRB_INT64 with MRB_NAN_BOXING.
...
Integers out of 32 bit range will be allocated in the heap.
2021-10-30 17:44:46 +09:00
Chris Reuter
5c4273f944
Added testing support for cross-MinGW builds.
...
This adds a build_config that will cross-build a Windows executable
using the MinGW cross-compiler and will also run the unit (i.e.
'rake test') using Wine.
For this to work, I made some modifications to the underlying test
scripts as well as some minor changes to a couple of the tests
themselves.
2021-10-21 21:58:45 -04:00
YAMAMOTO Yuji
66e61c5ab8
Fix a syntax error in commented-out code
...
By uncommenting the line changed by this commit, `ruby -c build_config/default.rb` complains of a syntax error due to the illegally nested double quotes
2021-10-18 12:45:55 +09:00
Yukihiro "Matz" Matsumoto
eea605bfc5
dreamcast_shelf.rb: remove unnecessary gem lines.
...
- `mruby-binding-core` should be handle through dependency
- `mruby-inline-struct` is only for tests
2021-09-30 12:46:45 +09:00
Yukihiro "Matz" Matsumoto
d6dd6f0e7b
Update struct initializer to work with relatively older C++.
2021-09-20 19:13:17 +09:00
Yukihiro "Matz" Matsumoto
7ffffbfe01
build_config/ci/gcc-clang.rb: enable MRB_UTF8_STRING.
2021-09-01 07:00:55 +09:00
Dante Catalfamo
7f290bebaf
Specify potential values for SERENITY_ARCH
2021-08-20 22:27:50 -04:00
Dante Catalfamo
5e030491e7
Replace 32-bit serenity config with 64-bit compatible version.
2021-08-20 14:48:49 -04:00
Dante Catalfamo
124c4d617f
Add serenity-32bit crossbuild
...
Cross compile mruby for SerenityOS (https://github.com/SerenityOS/serenity )
2021-08-19 23:34:30 -04:00
Yukihiro "Matz" Matsumoto
388bcb15e8
Rename two files for consistency; close #5488
...
* android_arm64-v8a.rb -> android_arm64_v8a.rb
* no-float.rb -> host-nofloat.rb
2021-06-22 16:36:26 +09:00
John Bampton
dab5502e8a
Run pre-commit with GitHub Actions
...
Running pre-commit with GitHub Actions now gives us more tests and coverage
Remove duplicate GitHub Actions for merge conflicts and trailing whitespace
Remove duplicate checks for markdownlint and yamllint from the GitHub Super-Linter
Add new custom pre-commit hook running with a shell script to sort alphabetically and uniquify codespell.txt
Add new pre-commit hook to check spelling with codespell
https://github.com/codespell-project/codespell
Fix spelling
2021-06-16 08:34:54 +10:00
Yukihiro "Matz" Matsumoto
8cd51578fb
build_config/no-float.rb: unify two build configurations; #5421
...
- stop cross building
- add more gems for tests
- add `bintest`
2021-04-26 07:25:21 +09:00
Yukihiro "Matz" Matsumoto
2e49a25740
build_config/nofloat.rb: build configuration with MRB_NO_FLOAT; #5421
2021-04-24 10:54:42 +09:00
John Bampton
9d32d440eb
feat(CI): add the GitHub Super Linter
...
The GitHub Super Linter is a more robust and better supported
tool than the current GitHub Actions we are using.
Running these checks:
ERROR_ON_MISSING_EXEC_BIT: true
VALIDATE_BASH: true
VALIDATE_BASH_EXEC: true
VALIDATE_EDITORCONFIG: true
VALIDATE_MARKDOWN: true
VALIDATE_SHELL_SHFMT: true
VALIDATE_YAML: true
https://github.com/marketplace/actions/super-linter
https://github.com/github/super-linter
Added the GitHub Super Linter badge to the README.
Also updated the pre-commit framework and added
more documentation on pre-commit.
Added one more pre-commit check: check-executables-have-shebangs
Added one extra check for merge conflicts to our
GitHub Actions.
EditorConfig and Markdown linting.
Minor grammar and spelling fixes.
Update linter.yml
2021-04-16 16:37:52 +09:00
Yukihiro "Matz" Matsumoto
fa2ad34792
Removing trailing white spaces; ref #5406 [ci skip]
2021-04-07 11:02:47 +09:00
SiZiOUS
03f7e88ee9
dreamcast_shelf: typo fix.
2021-04-06 20:49:03 +02:00
SiZiOUS
7ad2827900
Updating dreamcast_shelf build configuration.
2021-04-06 17:30:02 +02:00
Yukihiro "Matz" Matsumoto
7479ae307b
nintendo_switch.rb: remove trailing white spaces; #5386
2021-03-22 12:39:48 +09:00
Yukihiro "Matz" Matsumoto
dc6e7d5414
Merge pull request #5386 from LanzaSchneider/master
...
Add example for cross-compiling to Nintendo Switch
2021-03-22 12:06:59 +09:00
Lanza
ad09c39514
Add example for cross-compiling to Nintendo Switch
...
Cross Compiling configuration for the Nintendo Switch, it requires Nintendo SDK
2021-03-21 16:58:42 +08:00
KOBAYASHI Shuji
b2c3ab8f3f
Add configuration for MinGW cross compilation [ci skip]
...
With this cross compiler configuration, all tests for full-core gembox on
Windows on GitHub Actions were successful.
2021-03-21 16:43:04 +09:00