1255ba2bcc
* Initial cleanup of compute workflows and skeleton of ghcr workflow * Add containers-ci.yml, update opensuse and rhel dockerfiles * rename id in rocprofiler-compute-ghcr.yml * Add new line to end of containers-ci.yml * Update action versions for rocprofiler-compute-ghcr.yml * Switch back to SHA for action versions * Add conda set solver classic fix to compute CI dockerfiles * Update conda install for compute Dockerfiles * Change opensuse version to 15.6 in containers-ci.yml * Add fix for ubuntu noble to compute Dockerfile.ubuntu.ci * Add default distro and version to Dockerfile.ubuntu.ci * Updated regex for tarball version * Remove Python3.8 from compute CI Dockerfiles * Change RHEL 9.4 to 9, add retry for compute workflow * Revert name change for compute rhel workflow * update path naming * Remove binutils-gold from Dockerfile.opensuse.ci * Remove conda python installs from Dockerfile.ci files in compute * Change CMake version to 3.21 in compute Dockerfile.ci files * Update checkout actions from v4 to v5
84 righe
2.4 KiB
YAML
84 righe
2.4 KiB
YAML
name: rocprofiler-compute Ubuntu 22.04
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
paths:
|
|
- '.github/workflows/rocprofiler-compute-ubuntu-jammy.yml'
|
|
- 'projects/rocprofiler-compute/**'
|
|
- '!**/*.md'
|
|
- '!**/*.rtf'
|
|
- '!**/*.rst'
|
|
- '!**/.markdownlint-ci2.yaml'
|
|
- '!**/.readthedocs.yaml'
|
|
- '!**/.spellcheck.local.yaml'
|
|
- '!**/.wordlist.txt'
|
|
- '!projects/rocprofiler-compute/docs/**'
|
|
- '!projects/rocprofiler-compute/docker/**'
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/rocprofiler-compute-ubuntu-jammy.yml'
|
|
- 'projects/rocprofiler-compute/**'
|
|
- '!**/*.md'
|
|
- '!**/*.rtf'
|
|
- '!**/*.rst'
|
|
- '!**/.markdownlint-ci2.yaml'
|
|
- '!**/.readthedocs.yaml'
|
|
- '!**/.spellcheck.local.yaml'
|
|
- '!**/.wordlist.txt'
|
|
- '!projects/rocprofiler-compute/docs/**'
|
|
- '!projects/rocprofiler-compute/docker/**'
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-ubuntu-jammy:
|
|
# The type of runner that the job will run on
|
|
# https://hub.docker.com/r/rocm/dev-ubuntu-22.04/tags
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: rocm/dev-ubuntu-22.04:7.1
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
steps:
|
|
- name: Install baseline OS dependencies
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y git
|
|
apt-get install -y python3-pip
|
|
apt-get install -y cmake
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
with:
|
|
sparse-checkout: projects/rocprofiler-compute
|
|
|
|
- name: Install Python prereqs
|
|
working-directory: projects/rocprofiler-compute
|
|
run: |
|
|
python3 -m pip install -r requirements.txt
|
|
python3 -m pip install -r requirements-test.txt
|
|
|
|
- name: Configure and install
|
|
working-directory: projects/rocprofiler-compute
|
|
run: |
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_INSTALL_PREFIX=/opt/rocprofiler-compute -DPYTEST_NUMPROCS=4 ..
|
|
make install
|
|
|
|
- name: CTest- Analyze Commands
|
|
working-directory: projects/rocprofiler-compute
|
|
run: |
|
|
cd build
|
|
ctest --verbose -R test_analyze_commands
|
|
|
|
- name: CTest- Analyze Workloads
|
|
working-directory: projects/rocprofiler-compute
|
|
run: |
|
|
cd build
|
|
ctest --verbose -R test_analyze_workloads
|