Skip to content

Commit

Permalink
Run installer tests on AstraLinux 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
MinyazevR committed Jan 9, 2025
1 parent 92840bf commit 4033c8d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/common_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@ jobs:
container_name: alt:latest
artifact_name: linux-installer

install-astralinux18-installer:
needs: [build-rockylinux-installer]
uses: ./.github/workflows/installer.yml
with:
os: ubuntu-latest
container_name: registry.astralinux.ru/library/astra/ubi18:latest
artifact_name: linux-installer

install-archlinux-installer:
needs: [build-rockylinux-installer]
uses: ./.github/workflows/installer.yml
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
sed -i 's/^# \(WHEEL_USERS.*\)/\1/' /etc/sudoers
if: startsWith(inputs.container_name, 'alt')

- name: Install dependencies
run: |
apt-get update && apt-get install -y --no-install-recommends git-core p7zip-full curl sudo
sed -i 's/^# \(WHEEL_USERS.*\)/\1/' /etc/sudoers
if: contains(inputs.container_name, 'astra')

- name: Install dependencies
run: yum install -y epel-release && yum update -y && yum install -y --setopt=install_weak_deps=False git-core findutils p7zip sudo
if: startsWith(inputs.container_name, 'rocky')
Expand Down
3 changes: 3 additions & 0 deletions buildScripts/github/install_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ prepare_environment(){
sudo pacman -Sy && sudo pacman -S fontconfig libx11 libxrender libxext libxkbcommon-x11 --noconfirm
elif [[ "$ID" = "rocky" || "$ID" = '"rocky"' ]]; then
sudo yum install -y --setopt=install_weak_deps=False libX11-xcb libXext libxkbcommon-x11 fontconfig freetype libXrender
elif [ "$ID" = "astra" ]; then
sudo apt-get update && sudo apt-get install -y --no-install-recommends fontconfig libdbus-1-3 libx11-xcb1 libxkbcommon-x11-0 \
libxrender1 libxext6
fi
return 0 ;;
Darwin) return 0 ;;
Expand Down

0 comments on commit 4033c8d

Please sign in to comment.