2020-03-25 22:13:26 +00:00
|
|
|
name: Test Action
|
|
|
|
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
2020-03-26 15:35:44 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
package:
|
2020-03-26 23:15:57 +00:00
|
|
|
- ncurses
|
2020-03-26 15:35:44 +00:00
|
|
|
- lolcat
|
|
|
|
- termshark
|
2020-03-26 16:09:53 +00:00
|
|
|
- deber
|
|
|
|
- lazygit
|
2020-03-26 22:45:03 +00:00
|
|
|
- bc
|
2020-03-26 15:35:44 +00:00
|
|
|
include:
|
2020-03-26 23:15:57 +00:00
|
|
|
- package: ncurses
|
|
|
|
repo: https://salsa.debian.org/debian/ncurses.git
|
|
|
|
ref: debian/6.1+20181013-2+deb10u2
|
2020-03-26 15:35:44 +00:00
|
|
|
- package: lolcat
|
|
|
|
repo: https://salsa.debian.org/ruby-team/lolcat.git
|
|
|
|
ref: debian/100.0.1-2
|
|
|
|
- package: termshark
|
|
|
|
repo: https://salsa.debian.org/go-team/packages/termshark.git
|
|
|
|
ref: debian/2.0.3-1
|
2020-03-26 16:09:53 +00:00
|
|
|
- package: deber
|
|
|
|
repo: https://github.com/dawidd6/deber.git
|
|
|
|
ref: v1.0.0
|
|
|
|
- package: lazygit
|
|
|
|
repo: https://github.com/dawidd6/lazygit-debian.git
|
|
|
|
ref: ubuntu/0.16.2-1
|
2020-03-26 22:45:03 +00:00
|
|
|
- package: bc
|
|
|
|
repo: https://git.launchpad.net/ubuntu/+source/bc
|
2020-03-26 22:49:59 +00:00
|
|
|
ref: ubuntu/focal
|
2020-03-25 22:13:26 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Clone repo
|
2020-03-26 15:35:44 +00:00
|
|
|
run: |
|
2020-03-26 18:14:49 +00:00
|
|
|
git clone --depth=1 ${{matrix.repo}} -b ${{matrix.ref}} ${{matrix.package}}
|
2020-03-25 22:13:26 +00:00
|
|
|
- name: Test run
|
|
|
|
uses: ./
|
|
|
|
with:
|
2020-03-26 15:35:44 +00:00
|
|
|
source_directory: ${{matrix.package}}
|
|
|
|
artifacts_directory: artifacts
|
2020-03-26 12:26:07 +00:00
|
|
|
- name: Check files
|
|
|
|
run: |
|
2020-03-26 23:30:46 +00:00
|
|
|
ls -lh artifacts/${{matrix.package}}*.*
|
|
|
|
ls -lh ${{matrix.package}}*.* && false || true
|