Add woodpecker pipeline #1

Merged
nomi-nonsz merged 21 commits from new/woodpecker-pipeline into main 2025-07-30 15:18:31 +08:00
Showing only changes of commit fb13bb837a - Show all commits

View File

@ -0,0 +1,25 @@
when:
- branch: main
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
commands:
- apt update && apt install -y lib32stdc++6 wget
- mkdir $DOWNLOAD_LOCATION
- wget -O $DOWNLOAD_LOCATION/$SOURCEMOD_FILENAME $SOURCEMOD_DOWNLOAD_URL
- tar -zxvf $DOWNLOAD_LOCATION/$SOURCEMOD_FILENAME \
addons/sourcemod/scripting/include \
addons/sourcemod/scripting/spcomp \
addons/sourcemod/scripting/spcomp64 \
addons/sourcemod/scripting/compile.sh
- name: build
image: debian
commands:
- cp -rv scripting/* addons/sourcemod/scripting/
- bash addons/sourcemod/scripting/compile.sh