parent
fa87f28e17
commit
a6db2ff005
1 changed files with 19 additions and 2 deletions
|
@ -5,7 +5,23 @@ steps:
|
||||||
image: alpine
|
image: alpine
|
||||||
commands: |
|
commands: |
|
||||||
apk add --no-cache build-base gcc xcb-util-dev pkgconfig >/dev/null
|
apk add --no-cache build-base gcc xcb-util-dev pkgconfig >/dev/null
|
||||||
make
|
make install DESTDIR="$CI_WORKSPACE/pkg"
|
||||||
|
|
||||||
|
package-void:
|
||||||
|
image: alpine
|
||||||
|
commands: |
|
||||||
|
wget http://repo-default.voidlinux.org/static/xbps-static-latest.x86_64-musl.tar.xz && \
|
||||||
|
tar xvf xbps-static-latest.x86_64-musl.tar.xz -C / && \
|
||||||
|
rm -f xbps-static-latest.x86_64-musl.tar.xz
|
||||||
|
xbps-create -A x86_64 \
|
||||||
|
-H "${CI_REPO_URL}" \
|
||||||
|
-l "{GPL-2.0}" \
|
||||||
|
-n "dwmblocks-async-${CI_COMMIT_TAG}" \
|
||||||
|
-m "${CI_COMMIT_AUTHOR} <${CI_COMMIT_AUTHOR_EMAIL}>" \
|
||||||
|
-s "Customized dwmblocks-async" \
|
||||||
|
-c "${CI_COMMIT_MESSAGE}" \
|
||||||
|
"$CI_WORKSPACE/pkg"
|
||||||
|
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: woodpeckerci/plugin-gitea-release
|
image: woodpeckerci/plugin-gitea-release
|
||||||
|
@ -13,7 +29,8 @@ steps:
|
||||||
base_url: https://git.snaile.de
|
base_url: https://git.snaile.de
|
||||||
files:
|
files:
|
||||||
# Could also be "hello-world*" to match both
|
# Could also be "hello-world*" to match both
|
||||||
- "build/dwmblocks"
|
- "pkg/usr/bin/dwmblocks"
|
||||||
|
- "*.xbps"
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea-release
|
from_secret: gitea-release
|
||||||
target: main
|
target: main
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue