mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-31 00:59:16 +01:00
sdmm 1.7 -> 1.9 - Also updated sdmm config for future strictness changes rust_g 0.46.x -> 3.9.0 - Ships the 3.9.0 windows dll for easy desktop dev. Removed the .so because new versions are a large binary blob; instead these are fetched from tgstation release build artifacts for tests, and can be collected or preferably built locally for linux hosting. Workflow OS targets updated from ubuntu-20 -> ubuntu-24 stefanzweifel/git-auto-commit-action v5 -> v6 to satisfy dependabot Mislabeled actions/checkout 3 -> 4 Added cancel-in-progress concurrency rule to CI & label workflows - Causes new runs of the workflows to cancel older runs still in progress for a given ref (branch, pr, etc) Where not using an official action, uses commit hash targets instead of tags Added permissions strictness to CI & labels workflows Made workflows manually runnable Added preflight change checks to CI workflow - Only changes to byond sources, byond source validation, or version definitions should trigger a full test of that matter - Only changes to tgui sources or version definitions should trigger a full test of that matter
22 lines
539 B
Bash
Executable File
22 lines
539 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
source _build_dependencies.sh
|
|
|
|
if [ -d "$HOME/BYOND/byond/bin" ] && grep -Fxq "${BYOND_MAJOR}.${BYOND_MINOR}" $HOME/BYOND/version.txt;
|
|
then
|
|
echo "Using cached directory."
|
|
else
|
|
echo "Setting up BYOND."
|
|
rm -rf "$HOME/BYOND"
|
|
mkdir -p "$HOME/BYOND"
|
|
cd "$HOME/BYOND"
|
|
curl "https://indm.dev/byond/${BYOND_MAJOR}/${BYOND_MAJOR}.${BYOND_MINOR}_byond_linux.zip" -o byond.zip
|
|
unzip byond.zip
|
|
rm byond.zip
|
|
cd byond
|
|
make here
|
|
echo "$BYOND_MAJOR.$BYOND_MINOR" > "$HOME/BYOND/version.txt"
|
|
cd ~/
|
|
fi
|