File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: Intel Corporation
2
+ #
3
+ # SPDX-License-Identifier: BSD-3-Clause
4
+
5
+ name : Daily
6
+
7
+ on :
8
+ push :
9
+ branches :
10
+ - main
11
+
12
+ pull_request :
13
+ workflow_dispatch :
14
+ # 8am UTC is 12am PST, 1am PDT
15
+ schedule :
16
+ - cron : ' 0 8 * * *'
17
+
18
+ jobs :
19
+ checks :
20
+ runs-on : devcloud
21
+ env :
22
+ CXX : icpx
23
+ CC : icx
24
+ steps :
25
+ - uses : actions/checkout@v4
26
+ - name : Checks
27
+ uses :
pre-commit/[email protected]
28
+ - name : Build & Run
29
+ run : srun -p pvc-shared scripts/daily.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # SPDX-FileCopyrightText: Intel Corporation
4
+ #
5
+ # SPDX-License-Identifier: BSD-3-Clause
6
+
7
+ source /opt/intel/oneapi/setvars.sh
8
+ set -e
9
+ hostname
10
+
11
+ # SLURM/MPI integration is broken
12
+ unset SLURM_TASKS_PER_NODE
13
+ unset SLURM_JOBID
14
+
15
+ cmake -B build -DENABLE_SYCL=on
16
+ cmake --build build -j
17
+
18
+ mpirun -n 2 ./build/src/example1
19
+ mpirun -n 2 ./build/src/example2
20
+ mpirun -n 2 ./build/src/example3
You can’t perform that action at this time.
0 commit comments