@@ -18,13 +18,13 @@ jobs:
1818 name : Ubuntu
1919 runs-on : ubuntu-latest
2020 container :
21- image : ${{ matrix.image }}
21+ image : ghcr.io/bb-ur/umf-ubuntu- ${{ matrix.ubuntu_ver }}:latest
2222 options : --user root --privileged
2323 volumes :
2424 - ${{ github.workspace }}:${{ github.workspace }}
2525 strategy :
2626 matrix :
27- image : ['ghcr.io/rbanka1/umf-ubuntu- 20.04:latest ', 'ghcr.io/rbanka1/umf-ubuntu- 22.04:latest' ]
27+ ubuntu_ver : ['20.04', '22.04' ]
2828 build_type : [Debug, Release]
2929 compiler : [{c: gcc, cxx: g++}]
3030 shared_library : ['OFF']
3434 disable_hwloc : ['OFF']
3535 link_hwloc_statically : ['OFF']
3636 include :
37- - image : ghcr.io/rbanka1/umf-ubuntu- 20.04:latest
37+ - ubuntu_ver : 20.04
3838 build_type : Release
3939 compiler : {c: gcc-7, cxx: g++-7}
4040 shared_library : ' OFF'
4343 install_tbb : ' ON'
4444 disable_hwloc : ' OFF'
4545 link_hwloc_statically : ' OFF'
46- - image : ghcr.io/rbanka1/umf-ubuntu- 22.04:latest
46+ - ubuntu_ver : 22.04
4747 build_type : Release
4848 compiler : {c: clang, cxx: clang++}
4949 shared_library : ' OFF'
5252 install_tbb : ' ON'
5353 disable_hwloc : ' OFF'
5454 link_hwloc_statically : ' OFF'
55- - image : ghcr.io/rbanka1/umf-ubuntu- 22.04:latest
55+ - ubuntu_ver : 22.04
5656 build_type : Release
5757 compiler : {c: gcc, cxx: g++}
5858 shared_library : ' ON'
6161 install_tbb : ' ON'
6262 disable_hwloc : ' OFF'
6363 link_hwloc_statically : ' OFF'
64- - image : ghcr.io/rbanka1/umf-ubuntu- 24.04:latest
64+ - ubuntu_ver : 24.04
6565 build_type : Debug
6666 compiler : {c: gcc, cxx: g++}
6767 shared_library : ' ON'
7171 disable_hwloc : ' OFF'
7272 link_hwloc_statically : ' OFF'
7373 # test level_zero_provider='OFF' and cuda_provider='OFF'
74- - image : ghcr.io/rbanka1/umf-ubuntu- 22.04:latest
74+ - ubuntu_ver : 22.04
7575 build_type : Release
7676 compiler : {c: gcc, cxx: g++}
7777 shared_library : ' OFF'
8181 disable_hwloc : ' OFF'
8282 link_hwloc_statically : ' OFF'
8383 # test icx compiler
84- - image : ghcr.io/rbanka1/umf-ubuntu- 22.04:latest
84+ - ubuntu_ver : 22.04
8585 build_type : Release
8686 compiler : {c: icx, cxx: icpx}
8787 shared_library : ' ON'
9191 disable_hwloc : ' OFF'
9292 link_hwloc_statically : ' OFF'
9393 # test without installing TBB
94- - image : ghcr.io/rbanka1/umf-ubuntu- 22.04:latest
94+ - ubuntu_ver : 22.04
9595 build_type : Release
9696 compiler : {c: gcc, cxx: g++}
9797 shared_library : ' ON'
@@ -100,7 +100,7 @@ jobs:
100100 install_tbb : ' OFF'
101101 disable_hwloc : ' OFF'
102102 link_hwloc_statically : ' OFF'
103- - image : ghcr.io/rbanka1/umf-ubuntu- 22.04:latest
103+ - ubuntu_ver : 22.04
104104 build_type : Debug
105105 compiler : {c: gcc, cxx: g++}
106106 shared_library : ' ON'
@@ -109,7 +109,7 @@ jobs:
109109 install_tbb : ' ON'
110110 disable_hwloc : ' ON'
111111 link_hwloc_statically : ' OFF'
112- - image : ghcr.io/rbanka1/umf-ubuntu- 22.04:latest
112+ - ubuntu_ver : 22.04
113113 build_type : Release
114114 compiler : {c: gcc, cxx: g++}
115115 shared_library : ' ON'
@@ -168,14 +168,11 @@ jobs:
168168 ${{ matrix.compiler.cxx == 'icpx' && '. /opt/intel/oneapi/setvars.sh' || true }}
169169 LD_LIBRARY_PATH="${{env.BUILD_DIR}}/lib/:${LD_LIBRARY_PATH}" ctest --output-on-failure
170170
171- - name : Set os name
172- run : echo "ARTIFACT_NAME=${{ matrix.image }}" | sed -e 's|ghcr.io/rbanka1/||' -e 's|:|-|' >> $GITHUB_ENV
173-
174171 - name : Check os coverage
175172 if : ${{ matrix.build_type == 'Debug' && matrix.compiler.c == 'gcc' }}
176173 working-directory : ${{env.BUILD_DIR}}
177174 run : |
178- export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-${{env.ARTIFACT_NAME }}-shared-${{matrix.shared_library}}-no_hwloc-${{matrix.disable_hwloc}}
175+ export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-${{matrix.ubuntu_ver }}-shared-${{matrix.shared_library}}-no_hwloc-${{matrix.disable_hwloc}}
179176 echo "COVERAGE_FILE_NAME: $COVERAGE_FILE_NAME"
180177 ../scripts/coverage/coverage_capture.sh $COVERAGE_FILE_NAME
181178 mkdir -p ${{env.COVERAGE_DIR}}
@@ -184,7 +181,7 @@ jobs:
184181 - uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
185182 if : ${{ matrix.build_type == 'Debug' && matrix.compiler.c == 'gcc' }}
186183 with :
187- name : ${{env.COVERAGE_NAME}}-${{env.ARTIFACT_NAME }}-shared-${{matrix.shared_library}}-no_hwloc-${{matrix.disable_hwloc}}
184+ name : ${{env.COVERAGE_NAME}}-${{matrix.ubuntu_ver }}-shared-${{matrix.shared_library}}-no_hwloc-${{matrix.disable_hwloc}}
188185 path : ${{env.COVERAGE_DIR}}
189186
190187 - name : Remove the installation directory
@@ -496,4 +493,4 @@ jobs:
496493 --build-type ${{env.BUILD_TYPE}}
497494 --proxy
498495 --umf-version ${{env.UMF_VERSION}}
499- --shared-library
496+ --shared-library
0 commit comments