Skip to content

Commit 67413b9

Browse files
authored
Add GitHub Actions workflow for automated builds (#43)
1 parent 825101a commit 67413b9

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/build.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build pappl-retrofit
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Install dependencies
16+
run: |
17+
sudo apt-get update
18+
sudo apt-get install -y \
19+
build-essential \
20+
autoconf \
21+
automake \
22+
autopoint \
23+
gettext \
24+
libtool \
25+
libtool-bin \
26+
pkg-config \
27+
libcups2-dev \
28+
libcupsfilters-dev \
29+
libppd-dev \
30+
libpappl-dev
31+
32+
- name: Build project
33+
run: |
34+
./autogen.sh
35+
./configure
36+
make
37+
38+
- name: Run tests
39+
run: make check
40+
41+
- name: Test legacy printer application
42+
run: |
43+
./legacy-printer-app --help

0 commit comments

Comments
 (0)