Skip to content

Commit

Permalink
Add /bin/bash
Browse files Browse the repository at this point in the history
  • Loading branch information
MakisH committed Mar 20, 2024
1 parent de48261 commit 322fb5d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 322fb5d

Please sign in to comment.