Skip to content

Commit ce6f143

Browse files
committed
ci: add missing font dependencies
Also, use the script posix-deps-zypp.sh for all installation
1 parent bf2361f commit ce6f143

File tree

2 files changed

+17
-22
lines changed

2 files changed

+17
-22
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,9 @@ jobs:
3333
runs-on: ubuntu-latest
3434
needs: check_source
3535
if: needs.check_source.outputs.run_tests == 'true'
36-
3736
# Use a specific image version for reproducible builds
3837
container:
3938
image: opensuse/leap:15.5
40-
4139
strategy:
4240
fail-fast: false
4341
matrix:
@@ -53,30 +51,20 @@ jobs:
5351
OPENSSL_VER: 1.1.1u
5452

5553
steps:
56-
- name: Install All Dependencies
54+
55+
- name: Install Git and Tar
5756
run: |
58-
zypper --non-interactive install --auto-agree-with-licenses \
59-
git \
60-
tar \
61-
gcc \
62-
make \
63-
python3 \
64-
libabigail-tools \
65-
xorg-x11-server-Xvfb \
66-
libffi-devel \
67-
zlib-devel \
68-
ncurses-devel \
69-
gdbm-devel \
70-
sqlite3-devel \
71-
tk-devel \
72-
readline-devel \
73-
xz-devel \
74-
bzip2 \
75-
openssl \
76-
xvfb-run
57+
zypper ref
58+
zypper -n install -y git-core tar
7759
7860
- uses: actions/checkout@v4
7961

62+
- name: Install All Dependencies
63+
run: |
64+
pwd -P
65+
ls -la *
66+
bash -x ./.github/workflows/posix-deps-zypp.sh
67+
8068
- name: 'Restore OpenSSL build'
8169
if: matrix.task == 'build-and-test'
8270
id: cache-openssl

.github/workflows/posix-deps-zypp.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ zypper refresh --force
33

44
zypper install --auto-agree-with-licenses --force \
55
pattern:devel_rpm_build pattern:devel_C_C++ \
6+
git tar make libabigail-tools \
7+
xorg-x11-server-Xvfb xvfb-run \
8+
cantarell-fonts google-droid-fonts \
9+
google-inconsolata-fonts dejavu-fonts \
10+
libffi-devel \
11+
xz-devel \
12+
bzip2 \
613
zlib-devel \
714
libbz2-devel \
815
ncurses-devel \

0 commit comments

Comments
 (0)