Installers for RHEL 8.8 and RHEL 8.9 (#334)

* Installers for RHEL 8.8 and RHEL 8.9

- RHEL 8.8: Supports ROCm 5.6, 5.7, 6.0
- RHEL 8.9: Supports ROCm 6.0

* Update build-docker.sh

- fix PERL_REPO for OpenSUSE

* Update some workflows to use Node.js 20

* Fix Dockerfile.opensuse*
Этот коммит содержится в:
Jonathan R. Madsen
2024-04-01 13:31:10 -05:00
коммит произвёл GitHub
родитель b1e5c356aa
Коммит 1df597e049
13 изменённых файлов: 77 добавлений и 113 удалений
+22 -71
Просмотреть файл
@@ -140,6 +140,26 @@ jobs:
- os-distro: "rhel"
os-version: "8.7"
rocm-version: "5.7"
# RHEL 8.8
- os-distro: "rhel"
os-version: "8.8"
rocm-version: "0.0"
- os-distro: "rhel"
os-version: "8.8"
rocm-version: "5.6"
- os-distro: "rhel"
os-version: "8.8"
rocm-version: "5.7"
- os-distro: "rhel"
os-version: "8.8"
rocm-version: "6.0"
# RHEL 8.9
- os-distro: "rhel"
os-version: "8.9"
rocm-version: "0.0"
- os-distro: "rhel"
os-version: "8.9"
rocm-version: "6.0"
# RHEL 9.1
- os-distro: "rhel"
os-version: "9.1"
@@ -182,7 +202,7 @@ jobs:
large-packages: false
swap-storage: false
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
@@ -200,21 +220,6 @@ jobs:
run: |
echo "CI_GENERATOR_ARGS=--generators STGZ" >> $GITHUB_ENV
# - name: Configure Ubuntu Generators
# if: ${{ matrix.os-distro == 'ubuntu' }}
# run: |
# echo "CI_GENERATOR_ARGS=--generators STGZ DEB" >> $GITHUB_ENV
# - name: Configure OpenSUSE Generators
# if: ${{ matrix.os-distro == 'opensuse' }}
# run: |
# echo "CI_GENERATOR_ARGS=--generators STGZ RPM" >> $GITHUB_ENV
# - name: Configure RedHat Generators
# if: ${{ matrix.os-distro == 'rhel' }}
# run: |
# echo "CI_GENERATOR_ARGS=--generators STGZ" >> $GITHUB_ENV
- name: Build Base Container
timeout-minutes: 30
run: |
@@ -236,30 +241,12 @@ jobs:
- name: STGZ Artifacts
timeout-minutes: 10
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: omnitrace-stgz-${{ matrix.os-distro }}-${{ matrix.os-version }}-rocm-${{ matrix.rocm-version }}-installer
path: |
build-release/stgz/*.sh
# - name: DEB Artifacts
# timeout-minutes: 10
# if: ${{ matrix.os-distro == 'ubuntu' }}
# uses: actions/upload-artifact@v3
# with:
# name: omnitrace-deb-${{ matrix.os-distro }}-${{ matrix.os-version }}-rocm-${{ matrix.rocm-version }}-installer
# path: |
# build-release/deb/*.deb
# - name: RPM Artifacts
# timeout-minutes: 10
# if: ${{ matrix.os-distro == 'opensuse' }}
# uses: actions/upload-artifact@v3
# with:
# name: omnitrace-rpm-${{ matrix.os-distro }}-${{ matrix.os-version }}-rocm-${{ matrix.rocm-version }}-installer
# path: |
# build-release/rpm/*.rpm
# before testing remove any artifacts of the build
- name: Remove Build
timeout-minutes: 10
@@ -285,39 +272,3 @@ jobs:
fail_on_unmatched_files: True
files: |
omnitrace-*.sh
# - name: Test DEB Install
# timeout-minutes: 20
# if: ${{ matrix.os-distro == 'ubuntu' }}
# run: |
# set -v
# for i in omnitrace_*.deb
# do
# ./docker/test-docker-release.sh --distro ${{ matrix.os-distro }} --versions ${{ matrix.os-version }} --rocm-versions ${{ matrix.rocm-version }} -- --deb ${i}
# done
# - name: Upload DEB Release Assets
# uses: softprops/action-gh-release@v1
# if: matrix.os-distro == 'ubuntu' && startsWith(github.ref, 'refs/tags/') && github.repository == 'AMDResearch/omnitrace'
# with:
# fail_on_unmatched_files: True
# files: |
# omnitrace_*.deb
# - name: Test RPM Install
# timeout-minutes: 20
# if: ${{ matrix.os-distro == 'opensuse' }}
# run: |
# set -v
# for i in omnitrace-*.rpm
# do
# ./docker/test-docker-release.sh --distro opensuse --versions ${{ matrix.os-version }} --rocm-versions ${{ matrix.rocm-version }} -- --rpm ${i}
# done
# - name: Upload RPM Release Assets
# uses: softprops/action-gh-release@v1
# if: matrix.os-distro == 'opensuse' && startsWith(github.ref, 'refs/tags/') && github.repository == 'AMDResearch/omnitrace'
# with:
# fail_on_unmatched_files: True
# files: |
# omnitrace-*.rpm