Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix opensuse-tumbleweed workflow #305

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading