Register new external dependencies with the CI
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kayomn 2024-07-06 21:27:42 +02:00
parent c3d4cbe787
commit 97e64733da
1 changed files with 23 additions and 5 deletions

View File

@ -1,9 +1,27 @@
kind: pipeline
type: docker
name: continuous integration
steps:
- name: build & test
image: chainguard/zig:latest
- name: setup
image: ubuntu:latest
commands:
- apt-get update
- apt-get install -y wget gnupg software-properties-common
- apt-get install -y sdl2-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