From 3a0530cdc8f25293861b76e20b1d846a5adce0e9 Mon Sep 17 00:00:00 2001 From: "Karl W. Schulz" Date: Mon, 7 Nov 2022 10:47:12 -0600 Subject: [PATCH] updating analyze-commands job with latest install method Signed-off-by: Karl W. Schulz --- ...nalyze commands.yml => analyze-commands.yml} | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) rename .github/workflows/{analyze commands.yml => analyze-commands.yml} (78%) diff --git a/.github/workflows/analyze commands.yml b/.github/workflows/analyze-commands.yml similarity index 78% rename from .github/workflows/analyze commands.yml rename to .github/workflows/analyze-commands.yml index 3c86aaff8d..94ea771420 100644 --- a/.github/workflows/analyze commands.yml +++ b/.github/workflows/analyze-commands.yml @@ -43,18 +43,13 @@ jobs: run: | python3 -m pip install -r requirements.txt python3 -m pip install pyinstaller pytest pytest-cov mock - - - name: build and install + - name: Configure and install run: | - ls - ls src - ls src/mibench - ls src/mibench/roofline - cmake -B build-omniperf -DCMAKE_INSTALL_PREFIX=/opt/omniperf -DROCM_VERSIONS="4.3.1" "4.5.2" "5.0.2" "5.1.3" "5.2.3" - cmake --build build-omniperf --target all - cmake --build build-omniperf --target install + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/opt/omniperf .. + make install - name: run ctest run: | - cd build-omniperf + cd build ctest --verbose -R test_analyze_commands - \ No newline at end of file