Skip to content

Commit da4bd2a

Browse files
authored
Merge pull request #107 from kpcyrd/github-actions
Add github actions
2 parents bec86cd + 27ca553 commit da4bd2a

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

.github/workflows/make.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Makefile CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Install dependencies
17+
run: sudo apt update && sudo apt install -y asciidoc
18+
19+
- name: Run make
20+
run: make

.github/workflows/repro.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: archlinux-repro
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
pkg:
16+
- archlinux-repro
17+
- which
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
22+
- name: Install dependencies
23+
run: sudo apt update && sudo apt install -y asciidoc systemd-container
24+
25+
- name: Install archlinux-repro
26+
run: sudo make install
27+
28+
- name: Fetch pkg
29+
run: docker run --rm -v $PWD/pkg:/var/cache/pacman/pkg archlinux pacman -Syw ${{ matrix.pkg }} --noconfirm
30+
31+
- name: Remove signatures
32+
run: sudo rm ./pkg/*.sig
33+
34+
- name: Test repro
35+
run: repro ./pkg/${{ matrix.pkg }}-*

0 commit comments

Comments
 (0)