chore(ci): Use Woodpecker CI

main
earnest ma 7 months ago
parent 2271857b7c
commit e7aab11f9f
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
  1. 14
      .build.yml
  2. 20
      .woodpecker.yml

@ -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

@ -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
Loading…
Cancel
Save