forked from mcdc-project/mcdc
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 971 Bytes
/
Copy pathregression_test-gpu.yml
File metadata and controls
38 lines (36 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: GPU regression test
on:
workflow_dispatch:
jobs:
build:
runs-on: self-hosted
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- uses: actions/checkout@v3
- name: Load modules and build python venv
run: |
pwd
cd ..
pwd
module load cuda/11.8 gcc/10.3 mpich/4.0h_gcc-10 python/3.13
rm -rf ci_testing
python -m venv ci_testing
module unload python/3.13
source ci_testing/bin/activate
pip install --upgrade pip
pwd
- name: Install MC/DC and Harmonize
run: |
source ../ci_testing/bin/activate
pwd
pip install -e .
git clone https://github.com/CEMeNT-PSAAP/harmonize.git
cd harmonize
pip install -e .
cd ..
- name: Regression Test - GPU
run: |
pwd
source ../ci_testing/bin/activate
python -m pytest -v test/regression --mode=numba --target=gpu