ona/.drone.yml

30 lines
818 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
environment:
ZIG_VERSION: 0.13.0
2022-09-28 19:29:16 +02:00
steps:
2024-07-07 01:31:12 +02:00
- name: submodules
image: ubuntu:latest
commands:
- apt-get update
- apt-get install -y git git-lfs
- git submodule update --init --recursive
2024-07-07 01:31:12 +02:00
2024-07-07 01:21:40 +02:00
- name: build
image: ubuntu:latest
commands:
- apt-get update
2024-07-07 01:17:17 +02:00
- apt-get install -y openssl 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 build
- name: test
image: ubuntu:latest
commands:
2024-07-07 00:52:18 +02:00
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-$${ZIG_VERSION}
- zig build test