Skip to content

Commit 9d59f47

Browse files
committed
added a simple Dockerfile
1 parent 92a6de6 commit 9d59f47

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

.github/workflows/daily.yml renamed to .github/workflows/devcloud.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,10 @@
22
#
33
# SPDX-License-Identifier: BSD-3-Clause
44

5-
name: Daily
5+
name: Devcloud
66

77
on:
8-
push:
9-
10-
pull_request:
118
workflow_dispatch:
12-
# 8am UTC is 12am PST, 1am PDT
13-
schedule:
14-
- cron: '0 8 * * *'
159

1610
jobs:
1711
checks:

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# SPDX-FileCopyrightText: Intel Corporation
2+
#
3+
# SPDX-License-Identifier: BSD-3-Clause
4+
5+
FROM docker.io/intel/oneapi:latest
6+
7+
COPY . .
8+
RUN cmake -B build -DENABLE_SYCL=on \
9+
&& cmake --build build -j \
10+
&& mpirun -n 2 ./build/src/example1 \
11+
&& mpirun -n 2 ./build/src/example2 \
12+
&& mpirun -n 2 ./build/src/example3
13+
14+
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)