From e7aab11f9fff04bb18cc87f8eb5158854c2d3f93 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 | 20 ++++++++++++++++++++ 2 files changed, 20 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..85e3020 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,20 @@ +branches: main # Ideally, only run on pushes to main branch and PRs +pipeline: + pull-request: + image: ubuntu:jammy + when: + event: [ pull_request ] + commands: + - apt -y update + - apt -y install dpkg dpkg-dev scdoc shellcheck + - make test + + main: + image: ubuntu:jammy + when: + event: push + branch: main + commands: + - apt -y update + - apt -y install dpkg dpkg-dev scdoc shellcheck + - make test