mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
[READY] The most unholy solution to 515 and 516 rustlibs (#28590)
* What in the heck is this * Tweaks I should have made before opening the PR * gah * Fix if () spacing issue * Use the proper package
This commit is contained in:
@@ -27,6 +27,11 @@ rustlibs.dll @AffectedArc07
|
||||
rustlibs_prod.dll @AffectedArc07
|
||||
rust_g.dll @AffectedArc07
|
||||
|
||||
# temp executables because life is pain
|
||||
rustlibs_515.dll @AffectedArc07
|
||||
rustlibs_516.dll @AffectedArc07
|
||||
rustlibs_515_prod.dll @AffectedArc07
|
||||
rustlibs_516_prod.dll @AffectedArc07
|
||||
### S34NW
|
||||
|
||||
# TGUI stuff
|
||||
|
||||
@@ -65,7 +65,6 @@ jobs:
|
||||
git pull origin "$PR_BRANCH" --depth=$((ahead_by + 1))
|
||||
git remote add upstream "https://github.com/$BASE_REPOSITORY.git"
|
||||
git fetch upstream "$BASE_BRANCH" --depth=$((behind_by + 1))
|
||||
cd rust
|
||||
|
||||
# Get dependencies.
|
||||
rustup target add i686-unknown-linux-gnu
|
||||
@@ -74,18 +73,10 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install zlib1g-dev:i386 lib32gcc-13-dev mingw-w64 mingw-w64-i686-dev
|
||||
|
||||
# Build it.
|
||||
cargo build --release --target i686-unknown-linux-gnu
|
||||
cargo build --release --target i686-pc-windows-gnu
|
||||
|
||||
# Copy the built targets to their checked-in locations.
|
||||
cp target/i686-unknown-linux-gnu/release/librustlibs.so ../tools/ci/librustlibs_ci.so
|
||||
cp target/i686-pc-windows-gnu/release/rustlibs.dll ../rustlibs.dll
|
||||
|
||||
# Build the para-specific version
|
||||
RUSTFLAGS='-C target-cpu=znver5' cargo build --release --target=i686-pc-windows-gnu
|
||||
cp target/i686-pc-windows-gnu/release/rustlibs.dll ../rustlibs_prod.dll
|
||||
# Run the build
|
||||
tools/ci/build_all_rustlibs.sh
|
||||
|
||||
# And commit
|
||||
git commit -a -m "Build Rust library" --allow-empty
|
||||
git push origin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user