Jan Wagner
73d7499998
Some checks failed
Test Action / test (amd64, -v, dropbear, debian/2016.74-5+deb9u1, https://salsa.debian.org/debian/dropbear.git) (push) Failing after 34s
Test Action / test (amd64, -v, true, micro, debian/2.0.6-2_bpo10+1, https://salsa.debian.org/go-team/packages/micro.git) (push) Failing after 3m23s
Test Action / test (arm, -v, false, at, debian/3.2.2-1, https://salsa.debian.org/debian/at.git) (push) Failing after 35s
Test Action / test (arm, -v, iproute2, import/4.18.0-1ubuntu2_ubuntu18.04.1, https://git.launchpad.net/ubuntu/+source/iproute2) (push) Failing after 35s
Test Action / test (arm64, -v, deber, v1.0.0, https://github.com/dawidd6/deber.git) (push) Failing after 34s
Test Action / test (arm64, -v, lolcat, debian/100.0.1-2, https://salsa.debian.org/ruby-team/lolcat.git) (push) Failing after 36s
Test Action / test (arm64, -v, netcat-openbsd, import/1.206-1ubuntu1, https://git.launchpad.net/ubuntu/+source/netcat-openbsd) (push) Failing after 37s
73 lines
2.3 KiB
YAML
73 lines
2.3 KiB
YAML
name: Test Action
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- package: at
|
|
arch: arm
|
|
repo: https://salsa.debian.org/debian/at.git
|
|
ref: debian/3.2.2-1
|
|
lintian_opts: "-v"
|
|
lintian_run: false
|
|
- package: lolcat
|
|
arch: arm64
|
|
repo: https://salsa.debian.org/ruby-team/lolcat.git
|
|
ref: debian/100.0.1-2
|
|
lintian_opts: "-v"
|
|
- package: micro
|
|
arch: amd64
|
|
repo: https://salsa.debian.org/go-team/packages/micro.git
|
|
ref: debian/2.0.6-2_bpo10+1
|
|
lintian_opts: "-v"
|
|
lintian_run: true
|
|
- package: dropbear
|
|
arch: amd64
|
|
repo: https://salsa.debian.org/debian/dropbear.git
|
|
ref: debian/2016.74-5+deb9u1
|
|
lintian_opts: "-v"
|
|
- package: deber
|
|
arch: arm64
|
|
repo: https://github.com/dawidd6/deber.git
|
|
ref: v1.0.0
|
|
lintian_opts: "-v"
|
|
- package: netcat-openbsd
|
|
arch: arm64
|
|
repo: https://git.launchpad.net/ubuntu/+source/netcat-openbsd
|
|
ref: import/1.206-1ubuntu1
|
|
lintian_opts: "-v"
|
|
- package: iproute2
|
|
arch: arm
|
|
repo: https://git.launchpad.net/ubuntu/+source/iproute2
|
|
ref: import/4.18.0-1ubuntu2_ubuntu18.04.1
|
|
lintian_opts: "-v"
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
- name: Clone repo
|
|
run: git clone --depth=1 ${{matrix.repo}} -b ${{matrix.ref}} ${{matrix.package}}
|
|
- name: Prepare environment for action-debian-package
|
|
run: |
|
|
which skopeo || (apt update; apt -y install skopeo)
|
|
- name: Test run
|
|
uses: ./
|
|
with:
|
|
cpu_architecture: ${{matrix.arch}}
|
|
source_directory: ${{matrix.package}}
|
|
artifacts_directory: artifacts
|
|
lintian_opts: ${{matrix.lintian_opts}}
|
|
lintian_run: ${{matrix.lintian_run || false }}
|
|
- name: Check files
|
|
run: |
|
|
ls -lh artifacts/${{matrix.package}}*.*
|
|
ls -lh ${{matrix.package}}*.* && false || true
|