ona/.drone.yml

32 lines
874 B
YAML
Raw Normal View History

2022-09-28 19:29:16 +02:00
kind: pipeline
type: docker
2022-10-01 21:40:23 +02:00
name: continuous integration
2022-09-28 19:29:16 +02:00
steps:
- name: setup
image: ubuntu:latest
2024-07-07 00:46:11 +02:00
environment:
2024-07-07 00:48:49 +02:00
ZIG_VERSION: 0.13.0
commands:
- apt-get update
2024-07-06 22:01:13 +02:00
- apt-get install -y xz-utils wget libsdl2-dev glslang-tools spirv-tools
2024-07-07 00:52:18 +02:00
- 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
2024-07-07 00:46:11 +02:00
environment:
2024-07-07 00:48:49 +02:00
ZIG_VERSION: 0.13.0
commands:
2024-07-07 00:52:18 +02:00
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-$${ZIG_VERSION}
- zig build
- name: test
image: ubuntu:latest
2024-07-07 00:46:11 +02:00
environment:
2024-07-07 00:48:49 +02:00
ZIG_VERSION: 0.13.0
commands:
2024-07-07 00:52:18 +02:00
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-$${ZIG_VERSION}
- zig build test