diff --git a/.github/workflows/build-custom.yml b/.github/workflows/build-custom.yml index b5629782..7b15f2f8 100644 --- a/.github/workflows/build-custom.yml +++ b/.github/workflows/build-custom.yml @@ -168,8 +168,7 @@ jobs: run: | echo "OpenFOAM command: " cat ./openfoam_exec - chmod +x ./openfoam_exec - ./openfoam_exec ./Allwmake + /bin/bash ./openfoam_exec ./Allwmake - name: Get tutorials run: | git clone https://github.com/precice/tutorials.git --branch ${{ github.event.inputs.branchTutorials }} --depth 1 @@ -178,10 +177,10 @@ jobs: if ${{ github.event.inputs.runTutorialHeatedPlate }} then cd tutorials/flow-over-heated-plate/fluid-openfoam - ./openfoam_exec ./run.sh | tee fluid-openfoam.log 2>&1 & + /bin/bash ./openfoam_exec ./run.sh | tee fluid-openfoam.log 2>&1 & PIDfluid=$! cd ../solid-openfoam - ./openfoam_exec ./run.sh | tee solid-openfoam.log 2>&1 + /bin/bash ./openfoam_exec ./run.sh | tee solid-openfoam.log 2>&1 wait $PIDfluid fi - name: Run tutorial quickstart @@ -199,7 +198,7 @@ jobs: echo "Manually changing from solver to motionSolver in dynamicMeshDict for compatibility with OpenFOAM 9." sed -i 's/solver/motionSolver/g' constant/dynamicMeshDict fi - ./openfoam_exec ./run.sh | tee fluid-openfoam.log 2>&1 & + /bin/bash ./openfoam_exec ./run.sh | tee fluid-openfoam.log 2>&1 & PIDfluid=$! cd ../solid-cpp cmake . && make && ./run.sh | tee solid-cpp.log 2>&1 @@ -210,10 +209,10 @@ jobs: if ${{ github.event.inputs.runTutorialPartitionedPipe }} then cd tutorials/partitioned-pipe/fluid1-openfoam-pimplefoam - ./openfoam_exec ./run.sh | tee fluid1-openfoam-pimplefoam.log 2>&1 & + /bin/bash ./openfoam_exec ./run.sh | tee fluid1-openfoam-pimplefoam.log 2>&1 & PIDfluid=$! cd ../fluid2-openfoam-pimplefoam - ./openfoam_exec ./run.sh | tee fluid2-openfoam-pimplefoam.log 2>&1 & + /bin/bash ./openfoam_exec ./run.sh | tee fluid2-openfoam-pimplefoam.log 2>&1 & wait $PIDfluid fi - name: Archive logs