Skip to content

Commit f319182

Browse files
committed
Explicitly install missing libdw1 library for ROCm 7.0+ before running tests in CI
1 parent add3edc commit f319182

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,6 @@ jobs:
8080
run: |
8181
python3 build/ci_build test \
8282
"ghcr.io/rocm/jax-ubu22.rocm${ROCM_VERSION//.}:${GITHUB_SHA}" \
83-
--test-cmd "pytest -c ci/pytest_skips.ini jax/tests/core_test.py"
83+
--test-cmd "apt update && apt install -y libdw1 \
84+
pytest -c ci/pytest_skips.ini jax/tests/core_test.py"
8485

.github/workflows/nightly.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ jobs:
9393
run: |
9494
python3 build/ci_build test \
9595
"ghcr.io/rocm/jax-ubu${UBUNTU_VERSION}.rocm${ROCM_VERSION//.}:${GITHUB_SHA}" \
96-
--test-cmd "python jax_rocm_plugin/build/rocm/run_single_gpu.py -c && \
96+
--test-cmd "apt update && apt install -y libdw1 \
97+
python jax_rocm_plugin/build/rocm/run_single_gpu.py -c && \
9798
python jax_rocm_plugin/build/rocm/run_multi_gpu.py -c"
9899
- name: Upload logs to artifact (per-matrix)
99100
if: always()

0 commit comments

Comments
 (0)