This commit is contained in:
parent
481a1ab321
commit
0602f795ca
@ -1,92 +1,86 @@
|
||||
{
|
||||
"steps": {
|
||||
"ubuntu-build": {
|
||||
"image": "ubuntu",
|
||||
"when": {
|
||||
"branch": ["main", "woodpecker"],
|
||||
"event": ["push", "pull_request", "manual"]
|
||||
steps: {
|
||||
ubuntu-build: {
|
||||
image: "ubuntu",
|
||||
when: {
|
||||
branch: ["main", "woodpecker"],
|
||||
event: ["push", "pull_request", "manual"]
|
||||
},
|
||||
"commands": [
|
||||
"echo Update apt and Install git",
|
||||
commands: [
|
||||
"echo 'Update apt and Install git'",
|
||||
"apt update",
|
||||
"apt install -y git",
|
||||
|
||||
"echo Project libpdw CI building libhydride dependancy!!!",
|
||||
"echo 'Project libpdw CI building libhydride dependancy!!!'",
|
||||
|
||||
"echo Install development packages",
|
||||
"echo 'Install development packages'",
|
||||
"apt install -y build-essential cmake libglew-dev libx11-dev libxext-dev libxfixes-dev",
|
||||
|
||||
"echo Clone libhydride",
|
||||
"echo 'Clone libhydride'",
|
||||
"git clone https://git.oneechan.xyz/oneechanhax/libhydride /tmp/libhydride-ubuntu",
|
||||
|
||||
"echo Make build directory",
|
||||
"echo 'Make build directory'",
|
||||
"mkdir /tmp/libhydride-ubuntu/build",
|
||||
|
||||
"echo CMake build make-files",
|
||||
"echo 'CMake build make-files'",
|
||||
"cmake -DCMAKE_BUILD_TYPE=Release -S /tmp/libhydride-ubuntu/ -B /tmp/libhydride-ubuntu/build/",
|
||||
|
||||
"echo Build Project",
|
||||
"echo 'Build Project'",
|
||||
"cmake --build /tmp/libhydride-ubuntu/build/",
|
||||
"cmake --install /tmp/libhydride-ubuntu/build/",
|
||||
|
||||
|
||||
"echo 'Project libpdw CI building libglez dependancy!!!'",
|
||||
|
||||
|
||||
"echo Project libpdw CI building libglez dependancy!!!",
|
||||
|
||||
"echo Clone freetype-gl",
|
||||
"echo 'Clone 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",
|
||||
|
||||
"echo Make build directory",
|
||||
"echo 'Make build directory'",
|
||||
"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-ubuntu/ -B /tmp/freetype-gl-ubuntu/build/",
|
||||
|
||||
"echo Build freetype-gl",
|
||||
"echo 'Build freetype-gl'",
|
||||
"cmake --build /tmp/freetype-gl-ubuntu/build/",
|
||||
|
||||
"echo Install freetype-gl",
|
||||
"echo 'Install freetype-gl'",
|
||||
"cmake --install /tmp/freetype-gl-ubuntu/build/",
|
||||
|
||||
"echo Clone libglez",
|
||||
"echo 'Clone libglez'",
|
||||
"git clone https://git.oneechan.xyz/oneechanhax/libglez /tmp/libglez-ubuntu",
|
||||
|
||||
"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",
|
||||
|
||||
"echo Make build directory",
|
||||
"echo 'Make build directory'",
|
||||
"mkdir /tmp/libglez-ubuntu/build",
|
||||
|
||||
"echo CMake build make-files",
|
||||
"echo 'CMake build make-files'",
|
||||
"cmake -DCMAKE_BUILD_TYPE=Release -S /tmp/libglez-ubuntu/ -B /tmp/libglez-ubuntu/build/",
|
||||
|
||||
"echo Build Project",
|
||||
"echo 'Build Project'",
|
||||
"cmake --build /tmp/libglez-ubuntu/build/",
|
||||
"cmake --install /tmp/libglez-ubuntu/build/",
|
||||
|
||||
"echo Dependancy builds finished.",
|
||||
"echo 'Dependancy builds finished.'",
|
||||
|
||||
|
||||
"echo 'Project libpdw CI now building the actual project!!!'",
|
||||
|
||||
|
||||
|
||||
"echo Project libpdw CI now building the actual project!!!",
|
||||
|
||||
"echo Make build directory",
|
||||
"echo 'Make build directory'",
|
||||
"mkdir build-ubuntu",
|
||||
|
||||
"echo CMake build make-files",
|
||||
"echo 'CMake build make-files'",
|
||||
"cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build-ubuntu/",
|
||||
|
||||
"echo Build Project",
|
||||
"echo 'Build Project'",
|
||||
"cmake --build build-ubuntu/",
|
||||
"cmake --install build-ubuntu/"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user