This commit is contained in:
parent
5440d6f6b1
commit
d87b2b6ea1
@ -1,18 +1,45 @@
|
||||
{
|
||||
"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",
|
||||
"when": {
|
||||
"branch": ["main", "woodpecker"],
|
||||
"event": ["push", "pull_request"]
|
||||
},
|
||||
"commands": [
|
||||
"echo Install development packages",
|
||||
"apt update",
|
||||
"apt install -y build-essential cmake libglew-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/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user