20 lines
519 B
YAML
20 lines
519 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: continuous integration
|
|
|
|
environment:
|
|
ZIG_VERSION: 0.14.1
|
|
|
|
steps:
|
|
- name: build & test
|
|
image: ubuntu:latest
|
|
timeout: 120
|
|
commands:
|
|
- apt-get update
|
|
- apt-get install -y openssl xz-utils wget
|
|
- wget https://ziglang.org/download/$${ZIG_VERSION}/zig-x86_64-linux-$${ZIG_VERSION}.tar.xz
|
|
- tar -xf zig-x86_64-linux-$${ZIG_VERSION}.tar.xz
|
|
- export PATH=$PATH:$(pwd)/zig-x86_64-linux-$${ZIG_VERSION}
|
|
- zig build test
|
|
- zig build demos
|