diff --git a/.drone.yml b/.drone.yml index c94229c..9430913 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,8 @@ environment: steps: - name: setup image: ubuntu:latest - + environment: + ZIG_VERSION: ${ZIG_VERSION} commands: - apt-get update - apt-get install -y xz-utils wget libsdl2-dev glslang-tools spirv-tools @@ -19,12 +20,16 @@ steps: - name: build image: ubuntu:latest + environment: + ZIG_VERSION: ${ZIG_VERSION} commands: - export PATH=$PATH:$(pwd)/zig-linux-x86_64-${ZIG_VERSION} - zig build - name: test image: ubuntu:latest + environment: + ZIG_VERSION: ${ZIG_VERSION} commands: - export PATH=$PATH:$(pwd)/zig-linux-x86_64-${ZIG_VERSION} - zig build test \ No newline at end of file