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