File tree Expand file tree Collapse file tree 5 files changed +16
-8
lines changed Expand file tree Collapse file tree 5 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,17 @@ ARG HWLOC_DEPS="\
2828 libtool"
2929
3030# Copy hwloc
31+ # libhwloc-dev is required - installed via script because hwloc version is to old on this OS
3132COPY .github/scripts/install_hwloc.sh /opt/umf/install_hwloc.sh
3233
3334# UMF's dependencies
34- # libhwloc-dev is required - installed via script because hwloc version is to old on this OS
35+ ARG UMF_DEPS="\
36+ libtbb-dev"
3537
3638# Dependencies for tests (optional)
3739ARG TEST_DEPS="\
3840 libnuma-dev \
39- libtbb-dev\
41+ libtbb-dev \
4042 valgrind"
4143
4244# Miscellaneous for our builds/CI (optional)
Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ ARG BASE_DEPS="\
2525
2626# UMF's dependencies
2727ARG UMF_DEPS="\
28+ libtbb-dev \
2829 libhwloc-dev"
2930
3031# Dependencies for tests (optional)
3132ARG TEST_DEPS="\
3233 libnuma-dev \
33- libtbb-dev\
3434 valgrind"
3535
3636# Miscellaneous for our builds/CI (optional)
Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ ARG BASE_DEPS="\
2525
2626# UMF's dependencies
2727ARG UMF_DEPS="\
28+ libtbb-dev \
2829 libhwloc-dev"
2930
3031# Dependencies for tests (optional)
3132ARG TEST_DEPS="\
3233 libnuma-dev \
33- libtbb-dev\
3434 valgrind"
3535
3636# Miscellaneous for our builds/CI (optional)
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ permissions:
99
1010env :
1111 BUILD_DIR : " ${{github.workspace}}/build"
12- INSTL_DIR : " ${{github.workspace}}/../ install-dir"
12+ INSTL_DIR : " ${{github.workspace}}/install-dir"
1313 COVERAGE_DIR : " ${{github.workspace}}/coverage"
1414 COVERAGE_NAME : " exports-coverage-basic"
1515
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ permissions:
1111
1212jobs :
1313 build-dockers :
14+ # if: github.repository == 'oneapi-src/unified-memory-framework'
1415 runs-on : ubuntu-latest
1516 strategy :
1617 matrix :
@@ -26,14 +27,19 @@ jobs:
2627 with :
2728 fetch-depth : 0
2829
30+ - name : Build ubuntu-${{ matrix.ubuntu-version }} Docker image
31+ run : |
32+ docker build -f .github/docker/ubuntu-${{ matrix.ubuntu-version }}.Dockerfile -t ${{ env.IMG }} .
33+
2934 - name : Login to GitHub Container Registry
35+ if : github.event_name != 'pull_request'
3036 uses : docker/login-action@30f019fb76bb54d03ec1e716054622be511a13b2 # v3.2.0
31- with :
37+ with :
3238 registry : ghcr.io
3339 username : bb-ur
3440 password : ${{ secrets.BB_GHCR_TOKEN }}
3541
36- - name : Build and push ubuntu-${{ matrix.ubuntu-version }} Docker image
42+ - name : Push ubuntu-${{ matrix.ubuntu-version }} Docker image
43+ if : github.event_name != 'pull_request'
3744 run : |
38- docker build -f .github/docker/ubuntu-${{ matrix.ubuntu-version }}.Dockerfile -t ${{ env.IMG }} .
3945 docker push ${{ env.IMG }}
You can’t perform that action at this time.
0 commit comments