Update .woodpecker.json
Some checks failed
ci/woodpecker/push/woodpecker.json Pipeline failed

This commit is contained in:
Rebekah 2024-07-07 11:33:48 -04:00
parent 7f94936c87
commit 0933805bc1

View File

@ -1,11 +1,11 @@
{
steps: {
gcc-build: {
image: "ubuntu",
image: "alpine",
when: {
branch: [
"main",
"woodpecker",
"woodpecker-alpine",
"dev"
],
event: [
@ -15,50 +15,20 @@
]
},
commands: [
"echo Install development packages",
"apt update",
"apt install -y build-essential cmake python3",
"echo 'Install development packages'",
"apk update",
"apk install -y build-base cmake python3-dev",
"echo Make build directory",
"echo 'Make build directory'",
"mkdir build-gcc",
"echo CMake build make-files",
"echo 'CMake build make-files'",
"CC=gcc CXX=g++ cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build-gcc/",
"echo Build Project",
"echo 'Build Project'",
"cmake --build build-gcc/",
"cmake --install build-gcc/"
]
},
clang-build: {
image: "ubuntu",
when: {
branch: [
"main",
"woodpecker",
"dev"
],
event: [
"push",
"pull_request",
"manual"
]
},
commands: [
"echo Install development packages",
"apt update",
"apt install -y build-essential cmake clang python3",
"echo Make build directory",
"mkdir build-clang",
"echo CMake build make-files",
"CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release -DMBEDTLS_FATAL_WARNINGS=OFF -S ./ -B ./build-clang/",
"echo Build Project",
"cmake --build build-clang/",
"cmake --install build-clang/"
]
}
}
}