Simplify CI steps
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kayomn 2024-07-07 01:21:40 +02:00
parent 7cdcbdb018
commit 28a4ba4dee
1 changed files with 1 additions and 13 deletions

View File

@ -6,25 +6,13 @@ environment:
ZIG_VERSION: 0.13.0 ZIG_VERSION: 0.13.0
steps: steps:
- name: setup - name: build
image: ubuntu:latest image: ubuntu:latest
commands: commands:
- apt-get update - apt-get update
- apt-get install -y openssl xz-utils wget libsdl2-dev glslang-tools spirv-tools - apt-get install -y openssl xz-utils wget libsdl2-dev glslang-tools spirv-tools
- wget https://ziglang.org/download/$${ZIG_VERSION}/zig-linux-x86_64-$${ZIG_VERSION}.tar.xz - wget https://ziglang.org/download/$${ZIG_VERSION}/zig-linux-x86_64-$${ZIG_VERSION}.tar.xz
- tar -xf zig-linux-x86_64-$${ZIG_VERSION}.tar.xz - tar -xf zig-linux-x86_64-$${ZIG_VERSION}.tar.xz
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-$${ZIG_VERSION}
- zig version
- name: check-tls
image: ubuntu:latest
commands:
- openssl version
- openssl ciphers -v | grep -i tls
- name: build
image: ubuntu:latest
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