Remove duplicate environment variables from CI
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kayomn 2024-07-07 01:03:39 +02:00
parent 3ed4082a85
commit 391adb1816
1 changed files with 3 additions and 6 deletions

View File

@ -2,11 +2,12 @@ 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:
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
@ -17,16 +18,12 @@ steps:
- name: build - name: build
image: ubuntu:latest image: ubuntu:latest
environment:
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
- name: test - name: test
image: ubuntu:latest image: ubuntu:latest
environment:
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