2022-09-28 19:29:16 +02:00
|
|
|
kind: pipeline
|
2024-07-06 21:27:42 +02:00
|
|
|
type: docker
|
2022-10-01 20:40:23 +01:00
|
|
|
name: continuous integration
|
2022-09-28 19:29:16 +02:00
|
|
|
|
2024-07-07 01:03:39 +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:
|
2024-07-07 01:35:31 +02:00
|
|
|
- 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:44:26 +02:00
|
|
|
- name: build & test
|
2024-07-06 21:27:42 +02:00
|
|
|
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}
|
2024-07-24 00:56:14 +01:00
|
|
|
- zig build tests
|
|
|
|
- zig build demos
|