Skip to content

Commit

Permalink
add rocky9 build
Browse files Browse the repository at this point in the history
  • Loading branch information
adorton-adobe committed Aug 13, 2024
1 parent c89553d commit 01b36e2
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,10 @@ jobs:
LC_ALL: en_US.utf8
LANG: en_US.utf8
container:
image: rockylinux:8
image: ${{ matrix.container }}
strategy:
matrix:
container: [rockylinux:8, rockylinux:9]
include:
- extension_support: 0
variant_tag: "-noext"
Expand All @@ -162,10 +163,16 @@ jobs:
- name: Get version tag
id: get_version
uses: battila7/get-version-action@v2
- name: Rocky-Install dependencies
- name: Update yum dependencies
run: yum update -y
- name: Rocky 8 dependencies
if: ${{ matrix.container == 'rockylinux:8' }}
run: yum install -y pkgconfig gcc openssl-devel dbus-glib-devel python3-dbus sqlite-devel libffi-devel wget make findutils
- name: Rocky 9 dependencies
if: ${{ matrix.container == 'rockylinux:9' }}
run: yum install -y pkgconfig gcc openssl-devel dbus-glib-devel python3-dbus sqlite-devel libffi-devel krb5-devel dbus-daemon wget make findutils
- name: Build Python 3.12
run: |
yum update -y
yum install -y pkgconfig gcc openssl-devel dbus-glib-devel python3-dbus sqlite-devel libffi-devel wget make findutils
mkdir tmp && cd tmp
wget https://www.python.org/ftp/python/3.12.4/Python-3.12.4.tgz
tar xzf Python-3.12.4.tgz
Expand Down Expand Up @@ -195,10 +202,12 @@ jobs:
- name: Get build
run: |
cd dist
tar czf "user-sync-${UST_VERSION}${UST_VARIANT_TAG}-rocky.tar.gz" user-sync
LABEL=$(echo $CONTAINER | sed "s/linux://g")
tar czf "user-sync-${UST_VERSION}${UST_VARIANT_TAG}-${LABEL}.tar.gz" user-sync
env:
UST_VARIANT_TAG: ${{matrix.variant_tag}}
UST_VERSION: ${{ steps.get_version.outputs.version }}
CONTAINER: ${{ matrix.container }}
- name: Make artifact
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 01b36e2

Please sign in to comment.