From 45a3b3ce8dfaf19d3e6648640f2c92d83d1dc9ce Mon Sep 17 00:00:00 2001 From: "Karl W. Schulz" Date: Thu, 11 Apr 2024 11:39:46 -0500 Subject: [PATCH] reorder steps to make sure git is available prior to checkout; also add glibc-langpack-en install to resolve missing locale Signed-off-by: Karl W. Schulz [ROCm/rocprofiler-compute commit: 1cc620fa0ae8b428a4681b3008ca19f7c5541ecf] --- .../rocprofiler-compute/.github/workflows/rhel-8.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/projects/rocprofiler-compute/.github/workflows/rhel-8.yml b/projects/rocprofiler-compute/.github/workflows/rhel-8.yml index 86eee5aa9e..b02516c0a9 100644 --- a/projects/rocprofiler-compute/.github/workflows/rhel-8.yml +++ b/projects/rocprofiler-compute/.github/workflows/rhel-8.yml @@ -25,26 +25,24 @@ jobs: image: colramos/target-images:rhel8 # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: Checkout - uses: actions/checkout@v4 - name: Install baseline OS dependencies run: | - # https://github.com/actions/runner/issues/2033 - chown -R $(id -u):$(id -g) $PWD - yum -y update yum -y install git yum -y install python39 yum -y install cmake3 yum -y install which + yum -y install glibc-langpack-en + - name: Checkout + uses: actions/checkout@v4 - name: Install Python prereqs run: | python3.9 -m pip install -r requirements.txt - python3.9 -m pip install pyinstaller pytest pytest-cov mock pytest-xdist + python3.9 -m pip install -r requirements-test.txt - name: Configure and install run: | mkdir build cd build - cmake -DCMAKE_INSTALL_PREFIX=/opt/omniperf .. + cmake -DCMAKE_INSTALL_PREFIX=/opt/omniperf -DPYTEST_NUMPROCS=4 .. make install - name: CTest- Analyze Commands run: |