Compare commits
1 Commits
6caa5f1aa1
...
8cd0defd45
Author | SHA1 | Date | |
---|---|---|---|
8cd0defd45 |
12
.drone.yml
12
.drone.yml
|
@ -6,6 +6,12 @@ steps:
|
||||||
- name: make
|
- name: make
|
||||||
image: alpine:3.15.0
|
image: alpine:3.15.0
|
||||||
environment:
|
environment:
|
||||||
|
USERNAME:
|
||||||
|
from_secret: docker_username
|
||||||
|
PASSWORD:
|
||||||
|
from_secret: docker_password
|
||||||
|
REGISTRY:
|
||||||
|
from_secret: docker_registry
|
||||||
ZIG_VERSION: 0.9.1
|
ZIG_VERSION: 0.9.1
|
||||||
commands:
|
commands:
|
||||||
# DRONE_STAGE_ARCH is fine, but we can't substitute directly because zig
|
# DRONE_STAGE_ARCH is fine, but we can't substitute directly because zig
|
||||||
|
@ -16,9 +22,9 @@ steps:
|
||||||
#
|
#
|
||||||
# DRONE_STAGE_ARCH=amd64
|
# DRONE_STAGE_ARCH=amd64
|
||||||
# DRONE_STAGE_ARCH=arm64
|
# DRONE_STAGE_ARCH=arm64
|
||||||
- wget https://ziglang.org/download/$${ZIG_VERSION}/zig-linux-x86_64-$${ZIG_VERSION}.tar.xz
|
- wget https://ziglang.org/download/${ZIG_VERSION}/zig-linux-x86_64-${ZIG_VERSION}.tar.xz
|
||||||
- tar x -C /usr/local -f zig-linux-$${ZIG_VERSION}.tar.xz
|
- tar x -C /usr/local -f zig-linux-${ZIG_VERSION}.tar.xz
|
||||||
- ln -s /usr/local/zig-linux-$${ZIG_VERSION}/zig /usr/local/bin/zig
|
- ln -s /usr/local/zig-linux-${ZIG_VERSION}/zig /usr/local/bin/zig
|
||||||
- apk add git
|
- apk add git
|
||||||
- (cd codegen && zig build test)
|
- (cd codegen && zig build test)
|
||||||
- zig build -Dfetch # implicitly does a codegen
|
- zig build -Dfetch # implicitly does a codegen
|
||||||
|
|
Loading…
Reference in New Issue
Block a user