~singpolyma/asterisk

92b33c993030b73b991b3e63bf8194badca075cc — Stephen Paul Weber 12 days ago 199b9b0 master
sourcehut ci
1 files changed, 24 insertions(+), 0 deletions(-)

A .builds/debian-stable.yml
A .builds/debian-stable.yml => .builds/debian-stable.yml +24 -0
@@ 0,0 1,24 @@
image: debian/stable
sources:
- https://git.singpolyma.net/asterisk
artifacts:
- asterisk-packages.tar.xz
environment:
  LANG: C.UTF-8
tasks:
# sourcehut doesn't include recommends by default, so we do this
- dependencies: |
    sudo rm /etc/apt/apt.conf.d/60recommends
    sudo DEBIAN_FRONTEND=noninteractive apt-get install -y dgit
- build_dep: |
    echo "deb-src http://ftp.ca.debian.org/debian/ stable main" | sudo tee -a /etc/apt/sources.list
    sudo apt-get update
    sudo DEBIAN_FRONTEND=noninteractive apt-get build-dep -y asterisk
- deborig: |
    cd asterisk
    git deborig
- build: |
    cd asterisk
    dgit build
- artifact: |
    tar -cvJf asterisk-packages.tar.xz *.deb