forked from BestImageViewer/geeqie
-
Notifications
You must be signed in to change notification settings - Fork 0
140 lines (137 loc) · 4.51 KB
/
check-build-actions.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
name: Geeqie check build
run-name: ${{ github.actor }} is running Geeqie check build
on: [push, pull_request]
jobs:
Check-Markdown:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Run Markdown Lint
uses: actionshub/markdownlint@main
Check-Shellcheck:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Run Shellcheck Lint
uses: ludeeus/action-shellcheck@master
with:
ignore_names: downsize
Check-Build-No-Options:
runs-on: ubuntu-24.04
steps:
- run: sudo apt-get update
- run: sudo apt-get install appstream
- run: sudo apt-get install build-essential libgtk-3-dev libgtk-3-bin
- run: sudo apt-get install at-spi2-core
- run: sudo apt-get install desktop-file-utils
- run: sudo apt-get install gettext
- run: sudo apt-get install libgtk-3-bin
- run: sudo apt-get install libxml2-utils
- run: sudo apt-get install shellcheck
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: sudo apt-get install xvfb
- uses: BSFishy/[email protected]
with:
action: test
directory: build
setup-options: >
-Darchive=disabled
-Dcms=disabled
-Ddjvu=disabled
-Ddoxygen=disabled
-Devince=disabled
-Dexecinfo=disabled
-Dexiv2=disabled
-Dexr=disabled
-Dextended_stacktrace=disabled
-Dgit=disabled
-Dgps-map=disabled
-Dgtk4=disabled
-Dheif=disabled
-Dhelp_pdf=disabled
-Dj2k=disabled
-Djpeg=disabled
-Djpegxl=disabled
-Dlibraw=disabled
-Dlua=disabled
-Dpandoc=disabled
-Dpdf=disabled
-Dspell=disabled
-Dtiff=disabled
-Dunit_tests=disabled
-Dvideothumbnailer=disabled
-Dwebp=disabled
-Dyelp-build=disabled
options: --verbose
meson-version: 1.0.0
- name: Upload logs
uses: actions/upload-artifact@v4
if: always()
with:
name: logs-all-no-options
path: ${{ github.workspace }}/build/meson-logs/*.txt
retention-days: 5
Check-Build-Most-Options:
runs-on: ubuntu-24.04
steps:
- run: sudo apt-get update
- run: sudo apt-get install appstream
- run: sudo apt-get install at-spi2-core
- run: sudo apt-get install build-essential libgtk-3-dev libgtk-3-bin
- run: sudo apt-get install clang-tidy
- run: sudo apt-get install desktop-file-utils
- run: sudo apt-get install docbook-xsl
- run: sudo apt-get install evince
- run: sudo apt-get install fop
- run: sudo apt-get install gettext
- run: sudo apt-get install libarchive-dev
- run: sudo apt-get install libchamplain-0.12-dev libchamplain-gtk-0.12-dev
- run: sudo apt-get install libdw-dev
- run: sudo apt-get install libdwarf-dev
- run: sudo apt-get install libgexiv2-dev
- run: sudo apt-get install libgspell-1-dev
- run: sudo apt-get install libgtk-3-bin
- run: sudo apt-get install libheif-dev
- run: sudo apt-get install libimath-dev
- run: sudo apt-get install libdjvulibre-dev
- run: sudo apt-get install libjxl-dev
- run: sudo apt-get install liblua5.3-dev
- run: sudo apt-get install libopenexr-dev
- run: sudo apt-get install libopenjp2-7-dev
- run: sudo apt-get install libpoppler-glib-dev
- run: sudo apt-get install libraw-dev libomp-dev
- run: sudo apt-get install librsvg2-dev
- run: sudo apt-get install libunwind-dev
- run: sudo apt-get install libwebp-dev
- run: sudo apt-get install libwebp7
- run: sudo apt-get install libxml2-utils
- run: sudo apt-get install pandoc
- run: sudo apt-get install shellcheck
- run: sudo apt-get install xsltproc
#~ - run: sudo apt-get install libffmpegthumbnailer-dev
#~ - run: sudo apt-get install yelp-tools
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: sudo apt-get install xvfb
- uses: BSFishy/[email protected]
with:
action: test
directory: build
setup-options: >
-Dunit_tests=enabled
options: --verbose
meson-version: 1.0.0
- name: Upload logs
uses: actions/upload-artifact@v4
if: always()
with:
name: logs-all-most-options
path: ${{ github.workspace }}/build/meson-logs/*.txt
retention-days: 5