Manually assemble build environment in CI script
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kayomn 2022-10-01 20:32:59 +01:00
parent 074297953e
commit e5f94fda0f
1 changed files with 11 additions and 3 deletions

View File

@ -1,8 +1,16 @@
kind: pipeline kind: pipeline
name: default name: Build and Test
steps: steps:
- name: greetings - name: Build and Test
image: ziglang/static-base:llvm15-aarch64-2 image: alpine
commands: 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 - zig test src/main.zig