Update GitLab CI for FLTK 1.5.0
- remove autotools build (build-autotools) - build documentation with `cmake`, not `make` To do: build fluid docs
This commit is contained in:
parent
1186b4e255
commit
187eaa0441
@ -25,27 +25,6 @@ stages:
|
|||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
# Build with autoconf/make (including Pango and Cairo)
|
|
||||||
|
|
||||||
# Disabled for regular builds after commits to save build time: "only schedules"
|
|
||||||
# Note: Build time limits on "GitLab Free" effective Oct 2020: 400 minutes per month
|
|
||||||
|
|
||||||
build-autotools:
|
|
||||||
stage: build
|
|
||||||
only:
|
|
||||||
- schedules
|
|
||||||
# install the necessary build tools
|
|
||||||
before_script:
|
|
||||||
- apt update && apt -y install make autoconf man
|
|
||||||
- apt -y install freeglut3-dev libfontconfig-dev libxft-dev libglew-dev
|
|
||||||
- apt -y install libxcursor-dev libxinerama-dev libasound2-dev
|
|
||||||
- apt -y install libpango1.0-dev libcairo2-dev
|
|
||||||
script:
|
|
||||||
- make clean
|
|
||||||
- ./configure --enable-pango --enable-cairo
|
|
||||||
- time make -j3
|
|
||||||
- cd examples && time make
|
|
||||||
|
|
||||||
# Build with CMake and Ninja (with pango, cairo, building examples)
|
# Build with CMake and Ninja (with pango, cairo, building examples)
|
||||||
|
|
||||||
build-cmake:
|
build-cmake:
|
||||||
@ -79,20 +58,24 @@ pages:
|
|||||||
# install the necessary build tools
|
# install the necessary build tools
|
||||||
before_script:
|
before_script:
|
||||||
- date
|
- date
|
||||||
- apt update && apt -y install make autoconf man doxygen doxygen-latex
|
- apt update && apt -y install cmake ninja-build man doxygen-latex
|
||||||
|
- apt -y install freeglut3-dev libfontconfig-dev libxft-dev libglew-dev
|
||||||
|
- apt -y install libxcursor-dev libxinerama-dev libasound2-dev
|
||||||
|
- apt -y install libpango1.0-dev libcairo2-dev
|
||||||
script:
|
script:
|
||||||
- date
|
- date
|
||||||
- make clean
|
- pwd
|
||||||
- cd documentation
|
- mkdir build && cd build
|
||||||
|
- cmake -G Ninja -D CMAKE_BUILD_TYPE=Debug -D FLTK_BUILD_TEST=OFF -D FLTK_USE_PANGO=ON -D FLTK_OPTION_CAIRO_WINDOW=ON ..
|
||||||
- date
|
- date
|
||||||
- make && make html
|
- time ninja html
|
||||||
- date
|
- time ninja pdf
|
||||||
- make pdf
|
|
||||||
- date
|
- date
|
||||||
- cd ..
|
- cd ..
|
||||||
|
- pwd
|
||||||
- mkdir -p public/
|
- mkdir -p public/
|
||||||
- mv documentation/html/* public/
|
- mv build/documentation/html/* public/
|
||||||
- mv documentation/fltk.pdf public/
|
- mv build/documentation/fltk.pdf public/
|
||||||
- date
|
- date
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user