Skip to content

Commit 4bd54cb

Browse files
committed
Merge remote-tracking branch 'origin/master-26-lts' into master-26
2 parents d400f36 + e2dc5e5 commit 4bd54cb

8 files changed

Lines changed: 57 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,20 @@ env:
1111

1212
jobs:
1313
build:
14-
name: Build for Java ${{ matrix.java }} on ${{ matrix.distribution }}
14+
name: Build for Java ${{ matrix.java }} on ${{ matrix.distribution }} on ${{ matrix.os }}
1515
runs-on: ubuntu-latest
1616
strategy:
1717
fail-fast: false
1818
matrix:
19+
os:
20+
- 'ubuntu-latest'
1921
java:
2022
- 25
2123
- 26
2224
distribution:
2325
- 'adopt-hotspot'
2426
- 'oracle'
27+
- 'temurin'
2528
- 'graalvm'
2629
include:
2730
- java: 25
@@ -34,6 +37,12 @@ jobs:
3437
uses: actions/checkout@v4
3538
with:
3639
submodules: true
40+
- name: Start VM
41+
if: matrix.os == 'openbsd'
42+
uses: cross-platform-actions/action@v1.3.0
43+
with:
44+
operating_system: freebsd
45+
version: '15.1'
3746
- name: 'Setup Java'
3847
uses: actions/setup-java@v4
3948
with:

CHANGELOG-1.21.1.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
# Changelog for Minecraft 1.21.1
22
All notable changes to this project will be documented in this file.
33

4+
<a name="1.21.1-1.0.25"></a>
5+
## [1.21.1-1.0.25](https://github.com/CyclopsMC/IntegratedScripting/compare/1.21.1-1.0.24...1.21.1-1.0.25) - 2026-08-04 07:40:56
6+
7+
8+
### Changed
9+
* Update to Graal 25.1.3
10+
11+
### Fixed
12+
* Fix unable to run on some OSes such as OpenBSD
13+
* Don't crash when evaluating a non-existing script
14+
415
<a name="1.21.1-1.0.24"></a>
5-
## [1.21.1-1.0.24](https://github.com/CyclopsMC/IntegratedScripting/compare/1.21.1-1.0.23...1.21.1-1.0.24) - 2026-07-22 16:26:07
16+
## [1.21.1-1.0.24](https://github.com/CyclopsMC/IntegratedScripting/compare/1.21.1-1.0.23...1.21.1-1.0.24) - 2026-07-22 16:26:07 +0200
617

718

819
### Fixed

CHANGELOG-26.1.2.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
# Changelog for Minecraft 26.1.2
22
All notable changes to this project will be documented in this file.
33

4+
<a name="26.1.2-1.0.26"></a>
5+
## [26.1.2-1.0.26](https://github.com/CyclopsMC/IntegratedScripting/compare/26.1.2-1.0.25...26.1.2-1.0.26) - 2026-08-04 07:44:11
6+
7+
8+
### Changed
9+
* Update to Graal 25.1.3
10+
11+
### Fixed
12+
* Fix unable to run on some OSes such as OpenBSD
13+
414
<a name="26.1.2-1.0.25"></a>
5-
## [26.1.2-1.0.25](https://github.com/CyclopsMC/IntegratedScripting/compare/26.1.2-1.0.24...26.1.2-1.0.25) - 2026-07-28 16:57:46
15+
## [26.1.2-1.0.25](https://github.com/CyclopsMC/IntegratedScripting/compare/26.1.2-1.0.24...26.1.2-1.0.25) - 2026-07-28 16:57:46 +0200
616

717

818
### Fixed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ org.gradle.daemon=false
2929
org.gradle.caching=true
3030

3131
# Dependencies
32-
graal_version=25.0.1
32+
graal_version=25.1.3
3333
cyclopscore_version=1.30.0-1056
3434
integrateddynamics_version=1.33.4-1858
3535
commoncapabilities_version=2.11.8-360
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
As always, don't forget to backup your world before updating!
2+
Requires CyclopsCore version 1.25.5 or higher.
3+
4+
Changes:
5+
* Update to Graal 25.1.3
6+
7+
Fixes:
8+
* Fix unable to run on some OSes such as OpenBSD
9+
* Don't crash when evaluating a non-existing script
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
As always, don't forget to backup your world before updating!
2+
Requires CyclopsCore version 1.30.1 or higher.
3+
4+
Changes:
5+
* Update to Graal 25.1.3
6+
7+
Fixes:
8+
* Fix unable to run on some OSes such as OpenBSD

src/main/java/org/cyclops/integratedscripting/IntegratedScripting.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public class IntegratedScripting extends ModBaseNeoForge<IntegratedScripting> {
6666

6767
public IntegratedScripting(IEventBus modEventBus) {
6868
super(Reference.MOD_ID, (instance) -> _instance = instance, modEventBus);
69+
System.out.println("RUNNING ON OS: " + System.getProperty("os.name") + " " + System.getProperty("os.version") + " " + System.getProperty("os.arch"));
6970

7071
try {
7172
PackagedDependenciesLoader.load();

src/main/java/org/cyclops/integratedscripting/core/packageddependencies/PackagedDependenciesLoader.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
*/
2828
public class PackagedDependenciesLoader {
2929
public static void load() throws IOException {
30+
// Forcefully make Graal run on unsupported OSes (such as OpenBSD). It will fall back to a slower version.
31+
System.setProperty("polyglot.engine.allowUnsupportedPlatform", "true");
32+
System.setProperty("polyglot.engine.userResourceCache", System.getProperty("java.io.tmpdir"));
33+
34+
// Load libraries
3035
JsonObject jo;
3136
Path tmp = FMLLoader.getCurrent().getGameDir().resolve("libraries-integratedscripting");
3237
Files.createDirectories(tmp);

0 commit comments

Comments
 (0)