forked from deepmodeling/deepflame-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (40 loc) · 1.18 KB
/
Copy pathCPU_inferencce_validation.yml
File metadata and controls
48 lines (40 loc) · 1.18 KB
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
39
40
41
42
43
44
45
46
47
48
name: Build and Validation with CPU inference
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_validation:
runs-on: [self-hosted, linux, x64, 4060Ti]
if: github.repository_owner == 'deepmodeling'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: build and validation with CPU inference
env:
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
OMPI_MCA_btl_vader_single_copy_mechanism: none
run:
/bin/bash -c " echo $PWD
&& ls $PWD
&& cp -r /root/actions-runner/data/flare_CH4_SandiaD_4D.tbl examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM
&& source ~/miniconda3/etc/profile.d/conda.sh
&& conda activate libcantera
&& source /opt/openfoam7/etc/bashrc
&& . configure.sh --use_pytorch
&& source ./bashrc
&& . install.sh
&& cd test
&& ./Allrun
&& conda deactivate "
- name: test
run: |
cd test
cmake -B build
cmake --build build
cd build
ctest --output-on-failure