File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,14 @@ install:
26
26
- docker exec -it regtest /bin/bash -c "rm -rf $DOCKER_WORKING_DIR && cp -r $DOCKER_MOUNT_DIR $DOCKER_WORKING_DIR"
27
27
# Download input.tar.gz
28
28
- docker exec -it regtest /bin/bash -c "cd $DOCKER_WORKING_DIR/python/reg_tests && rm -rf input.tar.gz && wget https://github.com/mdolab/pyofm/raw/master/python/reg_tests/input.tar.gz && tar -xzf input.tar.gz"
29
+ # Compile
30
+ - docker exec -it regtest /bin/bash -c ". /home/dafoamuser/setupDAFoam.sh && cd $DOCKER_WORKING_DIR && make clean && make"
29
31
30
32
script :
31
33
# Run real tests
32
34
- docker exec -it regtest /bin/bash -c ". /home/dafoamuser/setupDAFoam.sh && cd $DOCKER_WORKING_DIR/python/reg_tests && python run_reg_tests.py"
33
35
# Run complex tests
34
- - docker exec -it regtest /bin/bash -c "sed -i -e 's/real-opt/complex-opt/g' /home/dafoamuser/setupDAFoam.sh && . /home/dafoamuser/setupDAFoam.sh && rm -rf /home/dafoamuser/packages/petsc-3.11.0/real-opt && cd /home/dafoamuser/repos/idwarp && make -f Makefile_CS && cd $DOCKER_WORKING_DIR/python/reg_tests && python run_reg_tests_cs.py"
36
+ - docker exec -it regtest /bin/bash -c "sed -i -e 's/real-opt/complex-opt/g' /home/dafoamuser/setupDAFoam.sh && . /home/dafoamuser/setupDAFoam.sh && rm -rf /home/dafoamuser/packages/petsc-3.11.0/real-opt && cd /home/dafoamuser/repos/idwarp && make clean && make -f Makefile_CS && cd $DOCKER_WORKING_DIR/python/reg_tests && python run_reg_tests_cs.py"
35
37
36
38
after_script :
37
39
- docker rm -f regtest
You can’t perform that action at this time.
0 commit comments