Test this woodpecker thingy.
continuous-integration/woodpecker the build failed
Details
continuous-integration/woodpecker the build failed
Details
parent
3038309758
commit
43c9bb4a7d
|
@ -0,0 +1,32 @@
|
||||||
|
platform: linux/amd64
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
build-x86_64:
|
||||||
|
image: alpine
|
||||||
|
environment:
|
||||||
|
- ZIG_BIN=https://ziglang.org/builds/zig-linux-x86_64-0.9.0-dev.1815+20e19e75f.tar.xz
|
||||||
|
- ZIGMOD_BIN=https://github.com/nektro/zigmod/releases/download/v85/zigmod-x86_64-linux
|
||||||
|
commands:
|
||||||
|
- apk add --no-cache build-base curl-dev curl-static zlib-static
|
||||||
|
openssl-libs-static nghttp2-static brotli-static xz git unzip
|
||||||
|
- wget $ZIG_BIN
|
||||||
|
- wget $ZIGMOD_BIN
|
||||||
|
- tar xf zig-linux-x86_64-0.9.0-dev.1815+20e19e75f.tar.xz
|
||||||
|
- zig="$PWD/zig-linux-x86_64-0.9.0-dev.1815+20e19e75f/zig"
|
||||||
|
- zigmod="$PWD/zigmod-x86_64-linux"
|
||||||
|
- chmod +x $zigmod
|
||||||
|
- wget https://www.sqlite.org/2021/sqlite-amalgamation-3370000.zip
|
||||||
|
- unzip sqlite-amalgamation-3370000.zip
|
||||||
|
- mv sqlite-amalgamation-3370000 sqlite
|
||||||
|
- $zigmod ci
|
||||||
|
- $zig build -Dstatic=true
|
||||||
|
- echo $CI_BUILD_NUMBER
|
||||||
|
upload:
|
||||||
|
image: techknowlogick/drone-b2
|
||||||
|
secrets: [ backblaze ]
|
||||||
|
bucket: lonjilcdn
|
||||||
|
account: 003b9ee84a86c3d0000000004
|
||||||
|
key: ${backblaze}
|
||||||
|
source: zig-out/bin/derploader
|
||||||
|
strip_prefix: zig-out/bin/
|
||||||
|
target: artifacts/${CI_REPO}/${CI_COMMIT_SHA}-${CI_BUILD_NUMBER}/
|
2
zig.mod
2
zig.mod
|
@ -28,6 +28,6 @@ dev_dependencies:
|
||||||
- -DSQLITE_ENABLE_MATH_FUNCTIONS
|
- -DSQLITE_ENABLE_MATH_FUNCTIONS
|
||||||
- -DSQLITE_ENABLE_BATCH_ATOMIC_WRITE=1
|
- -DSQLITE_ENABLE_BATCH_ATOMIC_WRITE=1
|
||||||
c_source_files:
|
c_source_files:
|
||||||
- ../../../../../../sqlite/sqlite3.c
|
- ../../../../../../../../sqlite/sqlite3.c
|
||||||
- src: git https://github.com/nektro/zig-json
|
- src: git https://github.com/nektro/zig-json
|
||||||
- src: git https://github.com/MasterQ32/zig-uri/
|
- src: git https://github.com/MasterQ32/zig-uri/
|
||||||
|
|
Loading…
Reference in New Issue