This commit is contained in:
parent
5440d6f6b1
commit
d87b2b6ea1
@ -1,18 +1,45 @@
|
|||||||
{
|
{
|
||||||
"steps": {
|
"steps": {
|
||||||
"build": {
|
|
||||||
|
"alpine-build": {
|
||||||
|
"image": "alpine",
|
||||||
|
"when": {
|
||||||
|
"branch": ["main", "woodpecker"],
|
||||||
|
"event": ["push", "pull_request"]
|
||||||
|
},
|
||||||
|
"commands": [
|
||||||
|
"echo Install development packages",
|
||||||
|
"apk update",
|
||||||
|
"apk add build-base cmake glew-dev libx11-dev libxext-dev libxfixes-dev",
|
||||||
|
|
||||||
|
"echo Make build directory",
|
||||||
|
"mkdir build",
|
||||||
|
|
||||||
|
"echo CMake build make-files",
|
||||||
|
"cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build/",
|
||||||
|
|
||||||
|
"echo Build Project",
|
||||||
|
"cmake --build build/",
|
||||||
|
"cmake --install build/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"ubuntu-build": {
|
||||||
"image": "ubuntu",
|
"image": "ubuntu",
|
||||||
"when": {
|
"when": {
|
||||||
|
"branch": ["main", "woodpecker"],
|
||||||
"event": ["push", "pull_request"]
|
"event": ["push", "pull_request"]
|
||||||
},
|
},
|
||||||
"commands": [
|
"commands": [
|
||||||
"echo Install development packages",
|
"echo Install development packages",
|
||||||
"apt update",
|
"apt update",
|
||||||
"apt install -y build-essential cmake libglew-dev libx11-dev libxext-dev libxfixes-dev",
|
"apt install -y build-essential cmake libglew-dev libx11-dev libxext-dev libxfixes-dev",
|
||||||
|
|
||||||
"echo Make build directory",
|
"echo Make build directory",
|
||||||
"mkdir build",
|
"mkdir build",
|
||||||
|
|
||||||
"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/",
|
||||||
|
|
||||||
"echo Build Project",
|
"echo Build Project",
|
||||||
"cmake --build build/",
|
"cmake --build build/",
|
||||||
"cmake --install build/"
|
"cmake --install build/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user