-
Notifications
You must be signed in to change notification settings - Fork 22
44 lines (38 loc) · 906 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: build
on:
push:
paths:
- '!.**'
- '!**'
- '.github/workflows/build.yml'
- '**.h'
- '**.c'
- '**.cpp'
- '**.ac'
- 'Makefile**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-image:
name: Compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -q -y --no-install-recommends libcups2-dev libcupsimage2-dev libboost-dev
- name: Build
run: |
cd ${{ github.workspace }}
autoscan
aclocal
autoconf
autoheader
touch NEWS AUTHORS README ChangeLog
automake --add-missing
automake
./configure
make