From b016f65e314630808cdc3d2c493d5608325ca6c2 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 24 Jul 2024 10:27:04 +0800 Subject: CI: Fix last commit Apparently it didn't really work because setting the branch list to empty causes it to always run, ignoring the branch. So the current solution is just to comment out the build commands. --- .woodpecker/.alpine.yaml | 2 +- .woodpecker/.archlinux.yaml | 2 +- .woodpecker/.debian.yaml | 12 ++++++------ .woodpecker/.fedora.yaml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.woodpecker/.alpine.yaml b/.woodpecker/.alpine.yaml index 13404ce..675b499 100644 --- a/.woodpecker/.alpine.yaml +++ b/.woodpecker/.alpine.yaml @@ -3,7 +3,7 @@ skip_clone: false steps: build: when: - branch: [master, runxiyu] + branch: [] event: [manual] image: alpine commands: diff --git a/.woodpecker/.archlinux.yaml b/.woodpecker/.archlinux.yaml index 0e7d462..de16197 100644 --- a/.woodpecker/.archlinux.yaml +++ b/.woodpecker/.archlinux.yaml @@ -3,7 +3,7 @@ skip_clone: false steps: build: when: - branch: [master, runxiyu] + branch: [] event: [manual] image: archlinux commands: diff --git a/.woodpecker/.debian.yaml b/.woodpecker/.debian.yaml index 78d67b9..bc9395a 100644 --- a/.woodpecker/.debian.yaml +++ b/.woodpecker/.debian.yaml @@ -1,4 +1,4 @@ -skip_clone: false +skip_clone: true steps: build: @@ -7,8 +7,8 @@ steps: event: [manual] image: debian:sid commands: - - apt update -y - - apt install --no-install-recommends -y binutils make gcc libssl-dev pkg-config curl libgnutls*-dev ca-certificates liblmdb-dev - - curl -o config.c 'https://git.runxiyu.org/runxiyu/misc.git/plain/haxircd-config-example/config.c' - - curl -o .makeopts 'https://git.runxiyu.org/runxiyu/misc.git/plain/haxircd-config-example/.makeopts' - - make GNUTLS_SERVER=1 OPENSSL_SERVER=1 INSPIRCD2_PROTOCOL=1 + - # apt update -y + - # apt install --no-install-recommends -y binutils make gcc libssl-dev pkg-config curl libgnutls*-dev ca-certificates liblmdb-dev + - # curl -o config.c 'https://git.runxiyu.org/runxiyu/misc.git/plain/haxircd-config-example/config.c' + - # curl -o .makeopts 'https://git.runxiyu.org/runxiyu/misc.git/plain/haxircd-config-example/.makeopts' + - # make GNUTLS_SERVER=1 OPENSSL_SERVER=1 INSPIRCD2_PROTOCOL=1 diff --git a/.woodpecker/.fedora.yaml b/.woodpecker/.fedora.yaml index 5508e0f..0c6fac6 100644 --- a/.woodpecker/.fedora.yaml +++ b/.woodpecker/.fedora.yaml @@ -3,7 +3,7 @@ skip_clone: false steps: build: when: - branch: [master, runxiyu] + branch: [] event: [manual] image: fedora commands: -- cgit v1.2.3