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