Update .woodpecker.json
All checks were successful
ci/woodpecker/manual/woodpecker.json Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker.json Pipeline was successful
This commit is contained in:
parent
5518a73c03
commit
ec8fd7e001
@ -1,6 +1,49 @@
|
|||||||
{
|
{
|
||||||
"steps": {
|
"steps": {
|
||||||
"build": {
|
"alpine-build": {
|
||||||
|
"image": "alpine",
|
||||||
|
"when": {
|
||||||
|
"branch": ["main", "woodpecker"],
|
||||||
|
"event": ["push", "pull_request"]
|
||||||
|
},
|
||||||
|
"commands": [
|
||||||
|
"echo Update apt and Install git",
|
||||||
|
"apk update",
|
||||||
|
"apk add git",
|
||||||
|
|
||||||
|
"echo Clone freetype-gl",
|
||||||
|
"git clone https://github.com/rougier/freetype-gl /tmp/freetype-gl-alpine",
|
||||||
|
|
||||||
|
"echo Install freetype-gls build dependancies packages",
|
||||||
|
"apk add build-base cmake libgl-dev libx11-dev glfw-dev glew-dev libxext-dev libxfixes-dev libfreetype-dev fontconfig imagemagick doxygen",
|
||||||
|
|
||||||
|
"echo Make build directory",
|
||||||
|
"mkdir /tmp/freetype-gl-alpine/build",
|
||||||
|
|
||||||
|
"echo CMake generate make-files",
|
||||||
|
"cmake -DCMAKE_BUILD_TYPE=Release -DOpenGL_GL_PREFERENCE=GLVND -Dfreetype-gl_BUILD_SHARED=ON -S /tmp/freetype-gl-alpine/ -B /tmp/freetype-gl-alpine/build/",
|
||||||
|
|
||||||
|
"echo Build freetype-gl",
|
||||||
|
"cmake --build /tmp/freetype-gl-alpine/build/",
|
||||||
|
|
||||||
|
"echo Install freetype-gl",
|
||||||
|
"cmake --install /tmp/freetype-gl-alpine/build/",
|
||||||
|
|
||||||
|
"echo Install build dependancies packages",
|
||||||
|
"apt install -y build-essential cmake libglm-dev libglew-dev libx11-dev libxext-dev libxfixes-dev libsdl2-dev",
|
||||||
|
|
||||||
|
"echo Make build directory",
|
||||||
|
"mkdir ./build-alpine",
|
||||||
|
|
||||||
|
"echo CMake build make-files",
|
||||||
|
"cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build-alpine/",
|
||||||
|
|
||||||
|
"echo Build Project",
|
||||||
|
"cmake --build build-alpine/",
|
||||||
|
"cmake --install build-alpine/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"ubuntu-build": {
|
||||||
"image": "ubuntu",
|
"image": "ubuntu",
|
||||||
"when": {
|
"when": {
|
||||||
"branch": ["master", "woodpecker"],
|
"branch": ["master", "woodpecker"],
|
||||||
@ -8,38 +51,39 @@
|
|||||||
},
|
},
|
||||||
"commands": [
|
"commands": [
|
||||||
"echo Update apt and Install git",
|
"echo Update apt and Install git",
|
||||||
"apt update && apt install -y git",
|
"apt update",
|
||||||
|
"apt install -y git",
|
||||||
|
|
||||||
"echo Clone freetype-gl",
|
"echo Clone freetype-gl",
|
||||||
"git clone https://github.com/rougier/freetype-gl /tmp/freetype-gl",
|
"git clone https://github.com/rougier/freetype-gl /tmp/freetype-gl-ubuntu",
|
||||||
|
|
||||||
"echo Install freetype-gls build dependancies packages",
|
"echo Install freetype-gls build dependancies packages",
|
||||||
"apt install -y build-essential cmake libgl-dev libx11-dev libglfw3-dev libglew-dev libxext-dev libxfixes-dev libfreetype-dev fontconfig imagemagick doxygen",
|
"apt install -y build-essential cmake libgl-dev libx11-dev libglfw3-dev libglew-dev libxext-dev libxfixes-dev libfreetype-dev fontconfig imagemagick doxygen",
|
||||||
|
|
||||||
"echo Make build directory",
|
"echo Make build directory",
|
||||||
"mkdir /tmp/freetype-gl/build",
|
"mkdir /tmp/freetype-gl-ubuntu/build",
|
||||||
|
|
||||||
"echo CMake generate make-files",
|
"echo CMake generate make-files",
|
||||||
"cmake -DCMAKE_BUILD_TYPE=Release -DOpenGL_GL_PREFERENCE=GLVND -Dfreetype-gl_BUILD_SHARED=ON -S /tmp/freetype-gl/ -B /tmp/freetype-gl/build/",
|
"cmake -DCMAKE_BUILD_TYPE=Release -DOpenGL_GL_PREFERENCE=GLVND -Dfreetype-gl_BUILD_SHARED=ON -S /tmp/freetype-gl-ubuntu/ -B /tmp/freetype-gl-ubuntu/build/",
|
||||||
|
|
||||||
"echo Build freetype-gl",
|
"echo Build freetype-gl",
|
||||||
"cmake --build /tmp/freetype-gl/build/",
|
"cmake --build /tmp/freetype-gl-ubuntu/build/",
|
||||||
|
|
||||||
"echo Install freetype-gl",
|
"echo Install freetype-gl",
|
||||||
"cmake --install /tmp/freetype-gl/build/",
|
"cmake --install /tmp/freetype-gl-ubuntu/build/",
|
||||||
|
|
||||||
"echo Install build dependancies packages",
|
"echo Install build dependancies packages",
|
||||||
"apt install -y build-essential cmake libglm-dev libglew-dev libx11-dev libxext-dev libxfixes-dev libsdl2-dev",
|
"apt install -y build-essential cmake libglm-dev libglew-dev libx11-dev libxext-dev libxfixes-dev libsdl2-dev",
|
||||||
|
|
||||||
"echo Make build directory",
|
"echo Make build directory",
|
||||||
"mkdir ./build",
|
"mkdir ./build-ubuntu",
|
||||||
|
|
||||||
"echo CMake build make-files",
|
"echo CMake build make-files",
|
||||||
"cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build/",
|
"cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build-ubuntu/",
|
||||||
|
|
||||||
"echo Build Project",
|
"echo Build Project",
|
||||||
"cmake --build build/",
|
"cmake --build build-ubuntu/",
|
||||||
"cmake --install build/"
|
"cmake --install build-ubuntu/"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user