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 <karl.schulz@amd.com>
[ROCm/rocprofiler-compute commit: 1cc620fa0a]
This commit is contained in:
committed by
Karl W. Schulz
parent
6712cfbd90
commit
45a3b3ce8d
@@ -25,26 +25,24 @@ jobs:
|
|||||||
image: colramos/target-images:rhel8
|
image: colramos/target-images:rhel8
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Install baseline OS dependencies
|
- name: Install baseline OS dependencies
|
||||||
run: |
|
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 git
|
||||||
yum -y install python39
|
yum -y install python39
|
||||||
yum -y install cmake3
|
yum -y install cmake3
|
||||||
yum -y install which
|
yum -y install which
|
||||||
|
yum -y install glibc-langpack-en
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
- name: Install Python prereqs
|
- name: Install Python prereqs
|
||||||
run: |
|
run: |
|
||||||
python3.9 -m pip install -r requirements.txt
|
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
|
- name: Configure and install
|
||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/opt/omniperf ..
|
cmake -DCMAKE_INSTALL_PREFIX=/opt/omniperf -DPYTEST_NUMPROCS=4 ..
|
||||||
make install
|
make install
|
||||||
- name: CTest- Analyze Commands
|
- name: CTest- Analyze Commands
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user