@@ -3,6 +3,8 @@ name: AqlProfile Continuous Integration
33on :
44 workflow_dispatch :
55 push :
6+ branches :
7+ - develop
68 paths :
79 - ' projects/aqlprofile/**'
810 - ' !projects/aqlprofile/*.md'
@@ -43,12 +45,11 @@ jobs:
4345 strategy :
4446 fail-fast : false
4547 matrix :
46- runner : ['navi4', 'navi3', 'mi300 ']
48+ runner : ['navi4', 'navi3', 'mi3xx ']
4749 os : ['ubuntu-22.04']
4850 build-type : ['RelWithDebInfo']
4951
50- runs-on : rocprofiler-${{ matrix.runner == 'mi300' && 'ubuntu-22' || matrix.runner }}
51- if : github.event.pull_request.head.repo.full_name == 'AMD-ROCm-Internal/aqlprofile'
52+ runs-on : rocprofiler-${{ matrix.runner }}
5253
5354 permissions :
5455 contents : read
@@ -57,19 +58,17 @@ jobs:
5758 # define this for containers
5859 env :
5960 GIT_DISCOVERY_ACROSS_FILESYSTEM : 1
60- CORE_EXT_RUNNER : mi300a
6161
6262 steps :
6363 - uses : actions/checkout@v4
6464 with :
6565 sparse-checkout : projects/aqlprofile
66-
66+ set-safe-directory : true
6767
6868 - name : Install requirements
6969 timeout-minutes : 10
7070 shell : bash
7171 run : |
72- cd projects/aqlprofile
7372 git config --global --add safe.directory '*'
7473 apt-get update
7574 apt-get install -y build-essential cmake g++-11 g++-12 python3-pip libgtest-dev libgmock-dev
7978 - name : List Files
8079 shell : bash
8180 run : |
82- cd projects/aqlprofile
8381 echo "PATH: ${PATH}"
8482 echo "LD_LIBRARY_PATH: ${LD_LIBRARY_PATH}"
8583 which-realpath() { echo -e "\n$1 resolves to $(realpath $(which $1))"; echo "$($(which $1) --version &> /dev/stdout | head -n 1)"; }
@@ -91,24 +89,22 @@ jobs:
9189 - name : Configure, Build, and Test
9290 timeout-minutes : 30
9391 shell : bash
94- working-directory : projects/aqlprofile
9592 run :
96- LD_LIBRARY_PATH=$(pwd)/build:$LD_LIBRARY_PATH ctest --output-on-failure -V -DCTEST_SOURCE_DIRECTORY="$(pwd)"
93+ LD_LIBRARY_PATH=$(pwd)/build:$LD_LIBRARY_PATH /usr/bin/ ctest --output-on-failure -VV -DCTEST_SOURCE_DIRECTORY="$(pwd)"
9794 -DCTEST_BINARY_DIRECTORY="$(pwd)/build" -DAQLPROFILE_BUILD_NUM_JOBS="16" -DCTEST_SITE="${RUNNER_HOSTNAME}"
9895 -DCTEST_BUILD_NAME=PR_${{ github.ref_name }}_${{ github.repository }}-${{ matrix.os }}-${{ matrix.runner }}-core
9996 -DCMAKE_CTEST_ARGUMENTS=""
10097 -DAQLPROFILE_BUILD_TESTS=ON
10198 -DAQLPROFILE_EXTRA_CONFIGURE_ARGS=""
102- -S . /dashboard.cmake
99+ -S $(pwd)/projects/aqlprofile /dashboard.cmake
103100
104101 core-rpm :
105- if : github.ref != 'refs/heads/amd-npi' && github.event.pull_request.head.repo.full_name == 'AMD-ROCm-Internal/aqlprofile'
106102 # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
107103 strategy :
108104 fail-fast : false
109105 matrix :
110106 runner : ['mi300']
111- os : ['rhel', 'sles']
107+ os : ['rhel-8 ', 'sles-15 ']
112108 build-type : ['RelWithDebInfo']
113109 ci-flags : ['--linter clang-tidy']
114110
@@ -121,24 +117,21 @@ jobs:
121117 # define this for containers
122118 env :
123119 GIT_DISCOVERY_ACROSS_FILESYSTEM : 1
124- CORE_EXT_RUNNER : mi300
125120
126121 steps :
127122 - uses : actions/checkout@v4
128123 with :
129124 sparse-checkout : projects/aqlprofile
125+ set-safe-directory : true
130126
131127 - name : Install requirements
132128 timeout-minutes : 10
133129 shell : bash
134- run : |
135- cd projects/aqlprofile
136- git config --global --add safe.directory '*'
130+ run : git config --global --add safe.directory '*'
137131
138132 - name : List Files
139133 shell : bash
140134 run : |
141- cd projects/aqlprofile
142135 echo "PATH: ${PATH}"
143136 echo "LD_LIBRARY_PATH: ${LD_LIBRARY_PATH}"
144137 which-realpath() { echo -e "\n$1 resolves to $(realpath $(which $1))"; echo "$($(which $1) --version &> /dev/stdout | head -n 1)"; }
@@ -150,12 +143,11 @@ jobs:
150143 - name : Configure, Build, and Test
151144 timeout-minutes : 30
152145 shell : bash
153- working-directory : projects/aqlprofile
154146 run :
155- LD_LIBRARY_PATH=$(pwd)/build:$LD_LIBRARY_PATH ctest --output-on-failure -V -DCTEST_SOURCE_DIRECTORY="$(pwd)"
147+ LD_LIBRARY_PATH=$(pwd)/build:$LD_LIBRARY_PATH ctest --output-on-failure -VV -DCTEST_SOURCE_DIRECTORY="$(pwd)"
156148 -DCTEST_BINARY_DIRECTORY="$(pwd)/build" -DAQLPROFILE_BUILD_NUM_JOBS="16" -DCTEST_SITE="${RUNNER_HOSTNAME}"
157149 -DCTEST_BUILD_NAME=PR_${{ github.ref_name }}_${{ github.repository }}-${{ matrix.os }}-${{ matrix.runner }}-core
158150 -DCMAKE_CTEST_ARGUMENTS=""
159151 -DAQLPROFILE_BUILD_TESTS=ON
160152 -DAQLPROFILE_EXTRA_CONFIGURE_ARGS=""
161- -S . /dashboard.cmake
153+ -S $(pwd)/projects/aqlprofile /dashboard.cmake
0 commit comments