Attempt removal of pushd / popd command dependency
This commit is contained in:
parent
e5f94fda0f
commit
3b234a175b
|
@ -7,10 +7,10 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- apk update && apk add curl xz
|
- apk update && apk add curl xz
|
||||||
- mkdir -p /deps
|
- mkdir -p /deps
|
||||||
- pushd /deps
|
- cd /deps
|
||||||
- curl https://ziglang.org/deps/zig+llvm+lld+clang-$(uname -m)-linux-musl-0.9.1.tar.xz -O
|
- 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
|
- 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/
|
- mv zig+llvm+lld+clang-$(uname -m)-linux-musl-0.9.1/ local/
|
||||||
- popd
|
- cd /drone/src/
|
||||||
- RUN apk --no-cache add libc-dev
|
- RUN apk --no-cache add libc-dev
|
||||||
- zig test src/main.zig
|
- zig test src/main.zig
|
||||||
|
|
Loading…
Reference in New Issue