PrusaSlicer-NonPlainar/.woodpecker.yaml

28 lines
760 B
YAML
Raw Normal View History

2024-04-19 22:04:06 +00:00
steps:
2024-04-19 22:21:42 +00:00
build:
2024-04-19 22:04:06 +00:00
image: ubuntu:22.04
commands:
- apt-get update
2024-04-19 22:54:26 +00:00
- apt-get install -y build-essential git autconf cmake libglu1-mesa-dev libgtk-3-dev libdbus-1-dev
2024-04-19 22:04:06 +00:00
- cd deps
- mkdir build
- cd build
- cmake .. -DDEP_WX_GTK3=ON
- make
- cd ../..
- mkdir build
- cd build
- cmake .. -DSLIC3R_STATIC=1 -DSLIC3R_GTK=3 -DSLIC3R_PCH=OFF -DCMAKE_PREFIX_PATH=$(pwd)/../deps/build/destdir/usr/local
- make
- src/BuildLinuxImage.sh -i
2024-04-19 22:21:42 +00:00
release:
2024-04-19 22:16:38 +00:00
image: woodpeckerci/plugin-gitea-release
settings:
base_url: https://git.grondek.dev
files:
- build/*.AppImage
- build/*.tar
target: nonplanar
api_key:
from_secret: GITEA_ACCESS_TOKEN