Skip to content

Commit 441567b

Browse files
committed
v3.4.0-P
1 parent 483c1be commit 441567b

13 files changed

+2876
-568
lines changed

.github/workflows/rust.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,22 @@ jobs:
3030
with:
3131
toolchain: stable
3232
command: check
33-
args: --manifest-path paradise-rust-g/Cargo.toml --target i686-pc-windows-msvc --all-features
33+
args: --manifest-path paradise-rust-g/Cargo.toml --target i686-pc-windows-msvc --features all
3434
- name: Build (release) (default features)
3535
uses: actions-rs/cargo@v1
3636
with:
3737
toolchain: stable
3838
command: build
39-
args: --manifest-path paradise-rust-g/Cargo.toml --target i686-pc-windows-msvc --release
40-
- uses: actions/upload-artifact@v1
39+
args: --manifest-path paradise-rust-g/Cargo.toml --target i686-pc-windows-msvc --release --features all
40+
- uses: actions/upload-artifact@v4
4141
with:
4242
name: rust_g.dll
4343
path: paradise-rust-g/target/i686-pc-windows-msvc/release/rust_g.dll
4444
build-linux:
4545
runs-on: ubuntu-latest
4646
env:
47-
BYOND_MAJOR: 513
48-
BYOND_MINOR: 1536
47+
BYOND_MAJOR: 515
48+
BYOND_MINOR: 1642
4949
PKG_CONFIG_ALLOW_CROSS: 1
5050
steps:
5151
- uses: actions/checkout@v2
@@ -70,28 +70,28 @@ jobs:
7070
with:
7171
toolchain: stable
7272
command: check
73-
args: --manifest-path paradise-rust-g/Cargo.toml --target i686-unknown-linux-gnu --all-features
73+
args: --manifest-path paradise-rust-g/Cargo.toml --target i686-unknown-linux-gnu --features all
7474
- name: Build (Debug) (all features)
7575
uses: actions-rs/cargo@v1
7676
with:
7777
toolchain: stable
7878
command: build
79-
args: --manifest-path paradise-rust-g/Cargo.toml --target i686-unknown-linux-gnu --all-features
79+
args: --manifest-path paradise-rust-g/Cargo.toml --target i686-unknown-linux-gnu --features all
8080
- name: Run tests (all features)
8181
uses: actions-rs/cargo@v1
8282
with:
8383
toolchain: stable
8484
command: test
85-
args: --manifest-path paradise-rust-g/Cargo.toml --target i686-unknown-linux-gnu --all-features
85+
args: --manifest-path paradise-rust-g/Cargo.toml --target i686-unknown-linux-gnu --features all
8686
env:
8787
BYOND_BIN: /home/runner/BYOND/byond/bin
8888
- name: Build (release) (default features)
8989
uses: actions-rs/cargo@v1
9090
with:
9191
toolchain: stable
9292
command: build
93-
args: --manifest-path paradise-rust-g/Cargo.toml --target i686-unknown-linux-gnu --release
94-
- uses: actions/upload-artifact@v1
93+
args: --manifest-path paradise-rust-g/Cargo.toml --target i686-unknown-linux-gnu --release --features all
94+
- uses: actions/upload-artifact@v4
9595
with:
9696
name: rust_g
9797
path: paradise-rust-g/target/i686-unknown-linux-gnu/release/librust_g.so

README.MD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ The license for RUST-G itself can be found on tg's repo. Code for the Paradise m
1313
1. You **must** have a copy of `Git Bash` or some other bash emulator on windows, and a git identity setup. This will not work otherwise.
1414
2. Run the `apply_patches.sh` file to autocreate a clone of `tg-rust-g`, and apply the patches to it.
1515
3. Paradise RUST-G requires all features to be enabled.
16-
- To build on windows, run `cargo build --release --all-features --target=i686-pc-windows-msvc`. This will generate a 32-bit `.dll` file that is compatible with BYOND.
17-
- To build on linux, run `cargo build --release --all-features --target=i686-unknown-linux-gnu`. This will generate a 32-bit `.so` file that is compatible with BYOND.
16+
- To build on windows, run `cargo build --release --features all --target=i686-pc-windows-msvc`. This will generate a 32-bit `.dll` file that is compatible with BYOND.
17+
- To build on linux, run `cargo build --release --features all --target=i686-unknown-linux-gnu`. This will generate a 32-bit `.so` file that is compatible with BYOND.
1818

1919
If you are still stuck, check tg's README. for more detailed instructions.
2020

apply_patches.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
basedir=`pwd`
4-
tg_tag="3.0.0"
4+
tg_tag="3.4.0"
55

66
echo "Checking for TG rust-g repo.."
77
if [ ! -d "./tg-rust-g" ]
@@ -46,4 +46,4 @@ apply_patch() {
4646
fi
4747
}
4848

49-
apply_patch tg-rust-g paradise-rust-g origin/master
49+
apply_patch tg-rust-g paradise-rust-g $tg_tag

0 commit comments

Comments
 (0)