30 lines
881 B
YAML
30 lines
881 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
|
|
- apt-get install -y curl libssl-dev libcurl4-openssl-dev m4
|
|
- apt-get install -y libglew-dev libudev-dev
|
|
- mkdir deps/build
|
|
- cd deps/build
|
|
- cmake .. -DDEP_WX_GTK3=ON -DDEP_DEBUG=OFF
|
|
- make -j6
|
|
- 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 -j6
|
|
# - src/BuildLinuxImage.sh -i
|
|
upload:
|
|
image: ellpeck/woodpecker-nextcloud-upload
|
|
settings:
|
|
server: https://cloud.grondek.pl
|
|
user: pgrondek
|
|
token:
|
|
files:
|
|
- build/*.tar
|
|
dest: PrusaSlicer
|
|
secret:
|
|
- token
|