File tree 5 files changed +16
-8
lines changed
5 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,17 @@ ARG HWLOC_DEPS="\
28
28
libtool"
29
29
30
30
# Copy hwloc
31
+ # libhwloc-dev is required - installed via script because hwloc version is to old on this OS
31
32
COPY .github/scripts/install_hwloc.sh /opt/umf/install_hwloc.sh
32
33
33
34
# 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"
35
37
36
38
# Dependencies for tests (optional)
37
39
ARG TEST_DEPS="\
38
40
libnuma-dev \
39
- libtbb-dev\
41
+ libtbb-dev \
40
42
valgrind"
41
43
42
44
# Miscellaneous for our builds/CI (optional)
Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ ARG BASE_DEPS="\
25
25
26
26
# UMF's dependencies
27
27
ARG UMF_DEPS="\
28
+ libtbb-dev \
28
29
libhwloc-dev"
29
30
30
31
# Dependencies for tests (optional)
31
32
ARG TEST_DEPS="\
32
33
libnuma-dev \
33
- libtbb-dev\
34
34
valgrind"
35
35
36
36
# Miscellaneous for our builds/CI (optional)
Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ ARG BASE_DEPS="\
25
25
26
26
# UMF's dependencies
27
27
ARG UMF_DEPS="\
28
+ libtbb-dev \
28
29
libhwloc-dev"
29
30
30
31
# Dependencies for tests (optional)
31
32
ARG TEST_DEPS="\
32
33
libnuma-dev \
33
- libtbb-dev\
34
34
valgrind"
35
35
36
36
# Miscellaneous for our builds/CI (optional)
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ permissions:
9
9
10
10
env :
11
11
BUILD_DIR : " ${{github.workspace}}/build"
12
- INSTL_DIR : " ${{github.workspace}}/../ install-dir"
12
+ INSTL_DIR : " ${{github.workspace}}/install-dir"
13
13
COVERAGE_DIR : " ${{github.workspace}}/coverage"
14
14
COVERAGE_NAME : " exports-coverage-basic"
15
15
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ permissions:
11
11
12
12
jobs :
13
13
build-dockers :
14
+ # if: github.repository == 'oneapi-src/unified-memory-framework'
14
15
runs-on : ubuntu-latest
15
16
strategy :
16
17
matrix :
@@ -26,14 +27,19 @@ jobs:
26
27
with :
27
28
fetch-depth : 0
28
29
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
+
29
34
- name : Login to GitHub Container Registry
35
+ if : github.event_name != 'pull_request'
30
36
uses : docker/login-action@30f019fb76bb54d03ec1e716054622be511a13b2 # v3.2.0
31
- with :
37
+ with :
32
38
registry : ghcr.io
33
39
username : bb-ur
34
40
password : ${{ secrets.BB_GHCR_TOKEN }}
35
41
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'
37
44
run : |
38
- docker build -f .github/docker/ubuntu-${{ matrix.ubuntu-version }}.Dockerfile -t ${{ env.IMG }} .
39
45
docker push ${{ env.IMG }}
You can’t perform that action at this time.
0 commit comments