Skip to content

Commit ef8733e

Browse files
committed
test
1 parent c2d35fc commit ef8733e

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

.github/docker/ubuntu-20.04.Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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
3132
COPY .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)
3739
ARG TEST_DEPS="\
3840
libnuma-dev \
39-
libtbb-dev\
41+
libtbb-dev \
4042
valgrind"
4143

4244
# Miscellaneous for our builds/CI (optional)

.github/docker/ubuntu-22.04.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ ARG BASE_DEPS="\
2525

2626
# UMF's dependencies
2727
ARG UMF_DEPS="\
28+
libtbb-dev \
2829
libhwloc-dev"
2930

3031
# Dependencies for tests (optional)
3132
ARG TEST_DEPS="\
3233
libnuma-dev \
33-
libtbb-dev\
3434
valgrind"
3535

3636
# Miscellaneous for our builds/CI (optional)

.github/docker/ubuntu-24.04.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ ARG BASE_DEPS="\
2525

2626
# UMF's dependencies
2727
ARG UMF_DEPS="\
28+
libtbb-dev \
2829
libhwloc-dev"
2930

3031
# Dependencies for tests (optional)
3132
ARG TEST_DEPS="\
3233
libnuma-dev \
33-
libtbb-dev\
3434
valgrind"
3535

3636
# Miscellaneous for our builds/CI (optional)

.github/workflows/reusable_basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
env:
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

.github/workflows/reusable_dockers_build.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111

1212
jobs:
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 }}

0 commit comments

Comments
 (0)