From 40b05d16de516e0aa49a6b44d5f84f8fc7a45be5 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 28 Jun 2023 02:05:03 +0200 Subject: [PATCH] fixup! build: add semantic versioning support --- .woodpecker.yml | 10 +++++----- tools/ci-containerfile | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index e971889..1a80072 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,23 +3,23 @@ clone: image: woodpeckerci/plugin-git # https://woodpecker-ci.org/plugins/Git%20Clone settings: - # tags are required for aarch64 release builds + # tags are required for aarch64 release builds for semver tags: true pipeline: lint: - image: git.qcode.ch/nakamochi/ci-zig0.10.1:v2 + image: git.qcode.ch/nakamochi/ci-zig0.10.1:v3 commands: - ./tools/fmt-check.sh test: - image: git.qcode.ch/nakamochi/ci-zig0.10.1:v2 + image: git.qcode.ch/nakamochi/ci-zig0.10.1:v3 commands: - zig build test sdl2: - image: git.qcode.ch/nakamochi/ci-zig0.10.1:v2 + image: git.qcode.ch/nakamochi/ci-zig0.10.1:v3 commands: - zig build -Ddriver=sdl2 aarch64: - image: git.qcode.ch/nakamochi/ci-zig0.10.1:v2 + image: git.qcode.ch/nakamochi/ci-zig0.10.1:v3 commands: - zig build -Ddriver=fbev -Dtarget=aarch64-linux-musl -Drelease-safe -Dstrip - sha256sum zig-out/bin/nd zig-out/bin/ngui diff --git a/tools/ci-containerfile b/tools/ci-containerfile index 31babd9..036acaf 100644 --- a/tools/ci-containerfile +++ b/tools/ci-containerfile @@ -6,7 +6,7 @@ FROM alpine:3.17.1 ARG ZIGURL -RUN apk add --no-cache curl xz sdl2-dev clang15-extra-tools && \ +RUN apk add --no-cache git curl xz sdl2-dev clang15-extra-tools && \ mkdir -p /tools/zig && \ cd /tools/zig && \ curl -o zig.tar.xz $ZIGURL && \