Skip to content

Commit

Permalink
Merge pull request #349 from eesast/dev
Browse files Browse the repository at this point in the history
build
  • Loading branch information
xiangmy21 authored May 11, 2024
2 parents 1c8c317 + 1339067 commit 3530d91
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down
2 changes: 1 addition & 1 deletion CAPI/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
grpcio==1.63.0
grpcio-tools==1.62.2
grpcio-tools==1.63.0
numpy
2 changes: 1 addition & 1 deletion CAPI/python_exp/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
grpcio==1.63.0
grpcio-tools==1.62.2
grpcio-tools==1.63.0
numpy
14 changes: 7 additions & 7 deletions dependency/shell/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ fi

function retry_command {
local command="$1"
local max_attempts=10
local max_attempts=5
local attempt_num=1
local sleep_seconds=5
local sleep_seconds=10

while [ $attempt_num -le $max_attempts ]; do
echo "Attempt $attempt_num / $max_attempts to run command: $command"
Expand Down Expand Up @@ -130,11 +130,11 @@ elif [ "$TERMINAL" = "CLIENT" ]; then
cp -r $python_main_dir $python_main_dir$i
cp -f ./$code_name.py $python_main_dir$i/PyAPI/AI.py
command="nice -0 python3 $python_main_dir$i/PyAPI/main.py -I $CONNECT_IP -P $PORT -t $k -p $i > $playback_dir/team$k-$code_name.log 2>&1 &"
retry_command "$command" > $playback_dir/client$k.log &
retry_command "$command" > $playback_dir/client$k-$i.log &
elif [ -f "./$code_name" ]; then
echo "find ./$code_name"
command="nice -0 ./$code_name -I $CONNECT_IP -P $PORT -t $k -p $i > $playback_dir/team$k-$codename.log 2>&1 &"
retry_command "$command" > $playback_dir/client$k.log &
command="nice -0 ./$code_name -I $CONNECT_IP -P $PORT -t $k -p $i > $playback_dir/team$k-$code_name.log 2>&1 &"
retry_command "$command" > $playback_dir/client$k-$i.log &
else
echo "ERROR. $code_name is not found."
fi
Expand All @@ -145,11 +145,11 @@ elif [ "$TERMINAL" = "CLIENT" ]; then
cp -r $python_main_dir $python_main_dir$i
cp -f ./$code_name.py $python_main_dir$i/PyAPI/AI.py
command="nice -0 python3 $python_main_dir$i/PyAPI/main.py -I $CONNECT_IP -P $PORT -t $k -p $i > $playback_dir/team$k-$code_name.log 2>&1 &"
retry_command "$command" > $playback_dir/client$k.log &
retry_command "$command" > $playback_dir/client$k-$i.log &
elif [ -f "./$code_name" ]; then
echo "find ./$code_name"
command="nice -0 ./$code_name -I $CONNECT_IP -P $PORT -t $k -p $i > $playback_dir/team$k-$code_name.log 2>&1 &"
retry_command "$command" > $playback_dir/client$k.log &
retry_command "$command" > $playback_dir/client$k-$i.log &
else
echo "ERROR. $code_name is not found."
fi
Expand Down
2 changes: 1 addition & 1 deletion installer/installer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui.Core" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui.Core" Version="9.0.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
<PackageReference Include="Tencent.QCloud.Cos.Sdk" Version="5.4.37" />
Expand Down

0 comments on commit 3530d91

Please sign in to comment.