Skip to content

Commit

Permalink
Fix opensuse workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mxamin committed Apr 5, 2024
1 parent e817c79 commit 458fedb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/opensuse-tumbleweed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ jobs:
- uses: actions/checkout@v1
- name: Install build dependencies
run: |
zypper -n install -t pattern devel_basis
zypper refresh
zypper update
# The follwoing installs "devel_basis" pattern since installing the pattern fails because of few
# incompatibilty issues among packages
zypper -n install autoconf automake binutils bison cpp cpp13 flex gawk gcc gcc13 gdbm-devel gettext-runtime gettext-tools glibc-devel info kbd kbd-legacy libapparmor1 libasan8 libatomic1 libctf-nobfd0 libctf0 libdb-4_8 libfl-devel libfl2 libgdbm6 libgdbm_compat4 libgomp1 libhwasan0 libisl23 libitm1 libkmod2 liblsan0 libltdl7 libmpc3 libmpfr6 libseccomp2 libtextstyle0 libtool libtsan2 libubsan1 libxcrypt-devel libzio1 linux-glibc-devel m4 make makeinfo ncurses-devel pam-config patch perl perl-Text-Unidecode perl-base purge-kernels-service system-user-nobody systemd systemd-default-settings systemd-default-settings-branding-openSUSE systemd-presets-branding-openSUSE systemd-presets-common-SUSE tack update-alternatives zlib-devel
PKGVER_NO_DOT=$(tr -d '.' <<< ${{ matrix.python-version }})
zypper -n install git libxmlsec1-openssl1 xmlsec1-openssl-devel python${PKGVER_NO_DOT}-devel python${PKGVER_NO_DOT}-pip
zypper -n install git libxmlsec1-openssl1 xmlsec1-openssl-devel python${PKGVER_NO_DOT}-devel
python${{ matrix.python-version }} -m venv .venv
.venv/bin/python -m pip install --upgrade pip setuptools wheel
- name: Build linux_x86_64 wheel
Expand All @@ -22,7 +26,7 @@ jobs:
rm -rf build/
- name: Install test dependencies
run: |
.venv/bin/python -m pip install --upgrade -r requirements-test.txt
.venv/bin/python -m pip install --upgrade --no-binary=lxml -r requirements-test.txt
.venv/bin/python -m pip install xmlsec --only-binary=xmlsec --no-index --find-links=dist/
- name: Run tests
run: |
Expand Down

0 comments on commit 458fedb

Please sign in to comment.