Przemysław Grondek
21d2287ab9
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
28 lines
761 B
YAML
28 lines
761 B
YAML
steps:
|
|
build:
|
|
image: ubuntu:22.04
|
|
commands:
|
|
- apt-get update
|
|
- apt-get install -y build-essential git autoconf cmake libglu1-mesa-dev libgtk-3-dev libdbus-1-dev
|
|
- 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
|
|
release:
|
|
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
|