Update Zig version in CI to 0.13.0
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
54b443ca33
commit
ea43c326e6
12
.drone.yml
12
.drone.yml
|
@ -5,22 +5,24 @@ name: continuous integration
|
|||
steps:
|
||||
- name: setup
|
||||
image: ubuntu:latest
|
||||
environment:
|
||||
ZIG_VERSION: 0.13.0
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get install -y xz-utils wget libsdl2-dev glslang-tools spirv-tools
|
||||
- wget https://ziglang.org/download/0.10.1/zig-linux-x86_64-0.10.1.tar.xz
|
||||
- tar -xf zig-linux-x86_64-0.10.1.tar.xz
|
||||
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-0.10.1
|
||||
- wget https://ziglang.org/download/${ZIG_VERSION}/zig-linux-x86_64-${ZIG_VERSION}.tar.xz
|
||||
- tar -xf zig-linux-x86_64-${ZIG_VERSION}.tar.xz
|
||||
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-${ZIG_VERSION}
|
||||
- zig version
|
||||
|
||||
- name: build
|
||||
image: ubuntu:latest
|
||||
commands:
|
||||
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-0.10.1
|
||||
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-${ZIG_VERSION}
|
||||
- zig build
|
||||
|
||||
- name: test
|
||||
image: ubuntu:latest
|
||||
commands:
|
||||
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-0.10.1
|
||||
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-${ZIG_VERSION}
|
||||
- zig build test
|
Loading…
Reference in New Issue