From dc4b10d133139bc079003ef849bcced796e64f34 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Wed, 27 Apr 2022 18:31:27 -0400 Subject: [PATCH] chore(ci): Use Woodpecker CI --- .build.yml | 14 -------------- .woodpecker.yml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 14 deletions(-) delete mode 100644 .build.yml create mode 100644 .woodpecker.yml diff --git a/.build.yml b/.build.yml deleted file mode 100644 index dac03f9..0000000 --- a/.build.yml +++ /dev/null @@ -1,14 +0,0 @@ -image: ubuntu/next -packages: - - dpkg - - dpkg-dev - - scdoc - - shellcheck - -sources: - - https://git.sr.ht/~earnestma/aptpkg - -tasks: - - test: | - cd aptpkg - make test diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..75fbad7 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,18 @@ +branches: main # Ideally, only run on pushes to main branch and PRs +pipeline: + pull-request: + image: ubuntu:jammy + when: + event: [ pull_request ] + commands: + - apt install dpkg dpkg-dev scdoc shellcheck + - make test + + main: + image: ubuntu:jammy + when: + event: push + branch: main + commands: + - apt install dpkg dpkg-dev scdoc shellcheck + - make test