Skip to content

Commit

Permalink
ci: update test args
Browse files Browse the repository at this point in the history
  • Loading branch information
For-Chance authored and xiaoerlaigeid committed Sep 28, 2024
1 parent f414106 commit 804acf4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
ffmpeg -y -f x11grab -video_size 800x600 -i :99 -t 5 -r 10 ./build/bin/demo2d_$i.gif &
FFmpeg_PID=$!
# Run the demo2d program in the background
./build/bin/demo2d --instruction $i --edge_num 33 &
./build/bin/demo2d --instruction $i &
Demo2d_PID=$!
# Wait for 5 seconds
sleep 5
Expand All @@ -101,7 +101,7 @@ jobs:
for i in {1..1}; do
ffmpeg -y -f x11grab -video_size 800x600 -i :99 -t 5 -r 10 ./build/bin/MassSpring3D_$i.gif &
FFmpeg_PID=$!
./build/bin/MassSpring3D --instruction $i &
./build/bin/MassSpring3D --instruction $i --edge_num 101 &
MassSpring3D_PID=$!
sleep 5
kill $FFmpeg_PID
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
for i in {1..1}; do
ffmpeg -y -f x11grab -video_size 800x600 -i :99 -t 5 -r 10 ./build/bin/MassSpring3D_$i.gif &
FFmpeg_PID=$!
./build/bin/MassSpring3D --instruction $i &
./build/bin/MassSpring3D --instruction $i --edge_num 101 &
MassSpring3D_PID=$!
sleep 5
kill $FFmpeg_PID
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
for i in {1..1}; do
ffmpeg -y -f x11grab -video_size 800x600 -i :99 -t 5 -r 10 ./build/bin/MassSpring3D_$i.gif &
FFmpeg_PID=$!
./build/bin/MassSpring3D --instruction $i &
./build/bin/MassSpring3D --instruction $i --edge_num 101 &
MassSpring3D_PID=$!
sleep 5
if ps -p $FFmpeg_PID > /dev/null; then
Expand Down

0 comments on commit 804acf4

Please sign in to comment.