renderer-mvp/post-processing #56
12
.drone.yml
12
.drone.yml
|
@ -5,22 +5,24 @@ name: continuous integration
|
||||||
steps:
|
steps:
|
||||||
- name: setup
|
- name: setup
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
|
environment:
|
||||||
|
ZIG_VERSION: 0.13.0
|
||||||
commands:
|
commands:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y xz-utils wget libsdl2-dev glslang-tools spirv-tools
|
- 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
|
- wget https://ziglang.org/download/${ZIG_VERSION}/zig-linux-x86_64-${ZIG_VERSION}.tar.xz
|
||||||
- tar -xf zig-linux-x86_64-0.10.1.tar.xz
|
- tar -xf zig-linux-x86_64-${ZIG_VERSION}.tar.xz
|
||||||
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-0.10.1
|
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-${ZIG_VERSION}
|
||||||
- zig version
|
- zig version
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-0.10.1
|
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-${ZIG_VERSION}
|
||||||
- zig build
|
- zig build
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
commands:
|
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
|
- zig build test
|
Loading…
Reference in New Issue