This commit is contained in:
parent
1a20d55599
commit
750b2e503d
|
@ -2,14 +2,11 @@ kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: continuous integration
|
name: continuous integration
|
||||||
|
|
||||||
environment:
|
|
||||||
ZIG_VERSION: 0.13.0
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: setup
|
- name: setup
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
environment:
|
environment:
|
||||||
ZIG_VERSION: ${ZIG_VERSION}
|
ZIG_VERSION: 0.13.0
|
||||||
commands:
|
commands:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y xz-utils wget libsdl2-dev glslang-tools spirv-tools
|
- apt-get install -y xz-utils wget libsdl2-dev glslang-tools spirv-tools
|
||||||
|
@ -21,7 +18,7 @@ steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
environment:
|
environment:
|
||||||
ZIG_VERSION: ${ZIG_VERSION}
|
ZIG_VERSION: 0.13.0
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-${ZIG_VERSION}
|
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-${ZIG_VERSION}
|
||||||
- zig build
|
- zig build
|
||||||
|
@ -29,7 +26,7 @@ steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
environment:
|
environment:
|
||||||
ZIG_VERSION: ${ZIG_VERSION}
|
ZIG_VERSION: 0.13.0
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-${ZIG_VERSION}
|
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-${ZIG_VERSION}
|
||||||
- zig build test
|
- zig build test
|
Loading…
Reference in New Issue