ona/.drone.yml

26 lines
682 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
commands:
- apt-get update
2024-07-06 21:35:55 +02:00
- apt-get install -y 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
- zig version
- name: build
image: ubuntu:latest
commands:
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-0.10.1
- zig build
- name: test
image: ubuntu:latest
commands:
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-0.10.1
- zig build test