Manually assemble build environment in CI script
This commit is contained in:
parent
074297953e
commit
e5f94fda0f
14
.drone.yml
14
.drone.yml
|
@ -1,8 +1,16 @@
|
|||
kind: pipeline
|
||||
name: default
|
||||
name: Build and Test
|
||||
|
||||
steps:
|
||||
- name: greetings
|
||||
image: ziglang/static-base:llvm15-aarch64-2
|
||||
- name: Build and Test
|
||||
image: alpine
|
||||
commands:
|
||||
- apk update && apk add curl xz
|
||||
- mkdir -p /deps
|
||||
- pushd /deps
|
||||
- curl https://ziglang.org/deps/zig+llvm+lld+clang-$(uname -m)-linux-musl-0.9.1.tar.xz -O
|
||||
- tar xf zig+llvm+lld+clang-$(uname -m)-linux-musl-0.9.1.tar.xz
|
||||
- mv zig+llvm+lld+clang-$(uname -m)-linux-musl-0.9.1/ local/
|
||||
- popd
|
||||
- RUN apk --no-cache add libc-dev
|
||||
- zig test src/main.zig
|
||||
|
|
Loading…
Reference in New Issue