this tar is so weird
Some checks failed
ci/woodpecker/push/test-build Pipeline failed

This commit is contained in:
Nomi Nonsense (Nonszy) 2025-07-30 12:23:37 +07:00
parent 727e4e8e09
commit a73f012e41

View File

@ -9,20 +9,18 @@ steps:
DOWNLOAD_LOCATION: dependencies
SOURCEMOD_DOWNLOAD_URL: https://sm.alliedmods.net/smdrop/1.12/sourcemod-1.12.0-git7210-linux.tar.gz
SOURCEMOD_FILENAME: sourcemod.tar.gz
SOURCEMOD_SCR_DIR: addons/sourcemod/scripting
commands:
- apt update && apt install -y lib32stdc++6 wget
- mkdir $DOWNLOAD_LOCATION
- wget -q -O $DOWNLOAD_LOCATION/$SOURCEMOD_FILENAME $SOURCEMOD_DOWNLOAD_URL
- ls $DOWNLOAD_LOCATION
- tar -zxvf $DOWNLOAD_LOCATION/$SOURCEMOD_FILENAME
- ls
- tar -zxvf $DOWNLOAD_LOCATION/$SOURCEMOD_FILENAME \
addons/sourcemod/scripting/include \
addons/sourcemod/scripting/spcomp \
addons/sourcemod/scripting/spcomp64 \
addons/sourcemod/scripting/compile.sh
- cp -r SOURCEMOD_SCR_DIR/include scripting
- cp SOURCEMOD_SCR_DIR/spcomp scripting
- cp SOURCEMOD_SCR_DIR/spcomp64 scripting
- cp SOURCEMOD_SCR_DIR/compile.sh scripting
- rm -r addons
- name: build
image: debian:bookworm
commands:
- cp -rv scripting/* addons/sourcemod/scripting/
- bash addons/sourcemod/scripting/compile.sh
- bash scripting/compile.sh