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:55:18 +00:00
|
|
|
- apt-get install -y build-essential git autoconf cmake libglu1-mesa-dev libgtk-3-dev libdbus-1-dev
|
2024-04-21 17:38:18 +00:00
|
|
|
- apt-get install -y curl libssl-dev libcurl4-openssl-dev m4
|
2024-04-21 17:42:07 +00:00
|
|
|
- apt-get install -y libglew-dev libudev-dev
|
2024-04-21 17:38:18 +00:00
|
|
|
- mkdir deps/build
|
|
|
|
- cd deps/build
|
2024-04-21 17:34:01 +00:00
|
|
|
- cmake .. -DDEP_WX_GTK3=ON -DDEP_DEBUG=OFF
|
2024-04-21 17:27:44 +00:00
|
|
|
- make -j6
|
2024-04-21 19:27:04 +00:00
|
|
|
- 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
|
2024-04-21 17:38:18 +00:00
|
|
|
# - src/BuildLinuxImage.sh -i
|
2024-04-21 19:27:04 +00:00
|
|
|
upload:
|
|
|
|
image: ellpeck/woodpecker-nextcloud-upload
|
2024-04-19 22:16:38 +00:00
|
|
|
settings:
|
2024-04-21 19:27:04 +00:00
|
|
|
server: https://cloud.grondek.pl
|
|
|
|
user: pgrondek
|
|
|
|
token:
|
2024-04-19 22:16:38 +00:00
|
|
|
files:
|
|
|
|
- build/*.tar
|
2024-04-21 19:27:04 +00:00
|
|
|
dest: PrusaSlicer
|
|
|
|
secret:
|
|
|
|
- token
|