Skip to content
Draft
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,19 @@ jobs:
- name: Setup Environment
id: setup_env
run: |
if [ '${{ github.event_name }}' = 'schedule' ] || [ '${{ inputs.mode }}' = 'nightly' ]; then
if [ '${{ github.event_name }}' = 'schedule' ]; then
MODE=Nightly
ADD_COVERAGE="--coverage"
else
MODE=Continuous
ADD_COVERAGE=""
fi
if [ '${{ github.event_name }}' = 'schedule' ] || [ '${{ inputs.mode }}' = 'nightly' ]; then
EXCLUDED_TESTS=""
else
EXCLUDED_TESTS="test_profile_live_attach_detach"
fi

echo "mode=${MODE}" >> $GITHUB_OUTPUT
echo "add_coverage=${ADD_COVERAGE}" >> $GITHUB_OUTPUT

Expand Down Expand Up @@ -162,6 +168,7 @@ jobs:
- name: Install Python Requirements
working-directory: projects/rocprofiler-compute
run: |
pip --version
for i in 1 2 3; do
pip install -r requirements.txt --break-system-packages --ignore-installed --timeout 60 && break
echo "⚠️ pip install attempt $i failed, retrying..."
Expand Down
6 changes: 3 additions & 3 deletions projects/rocprofiler-compute/.github/ci-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ matrix-ubuntu-nightly:
- { os-release: '22.04', gpu: 'mi325', arch: 'gfx94X', runner: 'linux-gfx942-1gpu-core42-ossci-rocm' }
- { os-release: '24.04', gpu: 'mi325', arch: 'gfx94X', runner: 'linux-gfx942-1gpu-core42-ossci-rocm' }
# Strix Halo
- { os-release: '22.04', gpu: 'strix-halo', arch: 'gfx1151', runner: 'linux-strix-halo-gpu-rocm' }
- { os-release: '24.04', gpu: 'strix-halo', arch: 'gfx1151', runner: 'linux-strix-halo-gpu-rocm' }
- { os-release: '22.04', gpu: 'strix-halo', arch: 'gfx1151', runner: 'linux-gfx1151-gpu-rocm' }
- { os-release: '24.04', gpu: 'strix-halo', arch: 'gfx1151', runner: 'linux-gfx1151-gpu-rocm' }
matrix-ubuntu-ci:
# MI355
- { os-release: '24.04', gpu: 'mi355', arch: 'gfx950', runner: 'linux-mi355-1gpu-ossci-rocm' }
# Strix Halo
- { os-release: '24.04', gpu: 'strix-halo', arch: 'gfx1151', runner: 'linux-strix-halo-gpu-rocm' }
- { os-release: '24.04', gpu: 'strix-halo', arch: 'gfx1151', runner: 'linux-gfx1151-gpu-rocm' }
1 change: 1 addition & 0 deletions projects/rocprofiler-compute/docker/Dockerfile.ubuntu.ci
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN apt-get dist-upgrade -y && \
RUN OS_VERSION=$(grep '^VERSION_ID=' /etc/os-release | cut -d'=' -f2 | tr -d '"') && \
OS_ID=$(grep '^ID=' /etc/os-release | cut -d'=' -f2 | tr -d '"') && \
if [ "${OS_ID}" == "ubuntu" ] && [ "${OS_VERSION}" == "22.04" ]; then \
python3 -m pip install --upgrade pip; \
python3 -m pip install 'cmake==3.21'; \
else \
python3 -m pip install --break-system-packages 'cmake==3.21'; \
Expand Down
Loading