nomi-nonsz 674c1f47b6
Some checks failed
ci/woodpecker/push/test-build Pipeline failed
or maybe because of this
2025-07-30 13:28:50 +07:00

29 lines
997 B
YAML

when:
- branch: [main, new/woodpecker-pipeline]
event: push
steps:
- name: getbuildtools
image: debian:bookworm
environment:
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
- tar -zxvf $DOWNLOAD_LOCATION/$SOURCEMOD_FILENAME
- mv -v $SOURCEMOD_SCR_DIR/include scripting
- mv -v $SOURCEMOD_SCR_DIR/spcomp scripting
- mv -v $SOURCEMOD_SCR_DIR/spcomp64 scripting
- mv -v $SOURCEMOD_SCR_DIR/compile.sh scripting
- rm -r addons
- name: build
image: debian:bookworm
commands:
- cd scripting
- ls
- chmod +x compile.sh spcomp
- bash compile.sh