Skip to content

Commit

Permalink
Add setup and CI dependencies (#955)
Browse files Browse the repository at this point in the history
## Problem

Some dependencies have been added, but the setup script and CI tasks do
not include them.

Note: we need some way of extracting deps automatically. Having spec,
setup and CI manually in sync is error prone.

## Solution

Add dependencies.
  • Loading branch information
joseivanlopez committed Dec 22, 2023
2 parents d50eb3a + 014b1b2 commit d624a60
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ jobs:
run: zypper --non-interactive install rustup

- name: Install required packages
run: zypper --non-interactive install python-langtable-data openssl-3 libopenssl-3-devel jq
run: zypper --non-interactive install
jq
libopenssl-3-devel
openssl-3
python-langtable-data
timezone

- name: Install Rust toolchains
run: rustup toolchain install stable
Expand Down
8 changes: 7 additions & 1 deletion setup-services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ $SUDO zypper --non-interactive --gpg-auto-import-keys install \
exfat-utils \
f2fs-tools \
fcoe-utils \
fde-tools \
jfsutils \
libstorage-ng-lang \
lvm2 \
Expand All @@ -86,6 +85,12 @@ $SUDO zypper --non-interactive --gpg-auto-import-keys install \
udftools \
xfsprogs || exit 1

# Install x86_64 packages
if [ $(uname -m) == "x86_64" ]; then
$SUDO zypper --non-interactive --gpg-auto-import-keys install \
fde-tools
fi

# Install s390 packages
if [ $(uname -m) == "s390x" ]; then
$SUDO zypper --non-interactive --gpg-auto-import-keys install \
Expand Down Expand Up @@ -113,6 +118,7 @@ $SUDO zypper --non-interactive install \
lshw \
python-langtable-data \
tar \
timezone \
xkeyboard-config-lang || exit 1

(
Expand Down

0 comments on commit d624a60

Please sign in to comment.