Add .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
26ef03a2dd
commit
5eb0d5e2cc
48
.woodpecker.json
Normal file
48
.woodpecker.json
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
"steps": {
|
||||
"gcc-build": {
|
||||
"image": "ubuntu",
|
||||
"when": {
|
||||
"branch": ["main", "woodpecker"],
|
||||
"event": ["push", "pull_request"]
|
||||
},
|
||||
"commands": [
|
||||
"echo Install development packages",
|
||||
"apt update",
|
||||
"apt install -y build-essential cmake",
|
||||
|
||||
"echo Make build directory",
|
||||
"mkdir build-gcc",
|
||||
|
||||
"echo CMake build make-files",
|
||||
"CC=gcc CXX=g++ cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build-gcc/",
|
||||
|
||||
"echo Build Project",
|
||||
"cmake --build build-gcc/",
|
||||
"cmake --install build-gcc/"
|
||||
]
|
||||
},
|
||||
"clang-build": {
|
||||
"image": "ubuntu",
|
||||
"when": {
|
||||
"branch": ["main", "woodpecker"],
|
||||
"event": ["push", "pull_request"]
|
||||
},
|
||||
"commands": [
|
||||
"echo Install development packages",
|
||||
"apt update",
|
||||
"apt install -y build-essential cmake clang",
|
||||
|
||||
"echo Make build directory",
|
||||
"mkdir build-clang",
|
||||
|
||||
"echo CMake build make-files",
|
||||
"CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build-clang/",
|
||||
|
||||
"echo Build Project",
|
||||
"cmake --build build-clang/",
|
||||
"cmake --install build-clang/"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user