mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
fix: move smoke testing working dir
This commit is contained in:
42
.github/workflows/smoke-testing.yml
vendored
42
.github/workflows/smoke-testing.yml
vendored
@@ -53,16 +53,16 @@ jobs:
|
||||
with:
|
||||
key: ${{ steps.cache_key.outputs.key }}
|
||||
path: |
|
||||
./install/AsstCaller.h
|
||||
./install/AsstPort.h
|
||||
./install/libc++.so.1
|
||||
./install/libc++abi.so.1
|
||||
./install/libfastdeploy_ppocr.so
|
||||
./install/libMaaCore.so
|
||||
./install/libonnxruntime.so.1
|
||||
./install/libopencv_world4.so.411
|
||||
./install/libunwind.so.1
|
||||
./install/smoke_test
|
||||
./AsstCaller.h
|
||||
./AsstPort.h
|
||||
./libc++.so.1
|
||||
./libc++abi.so.1
|
||||
./libfastdeploy_ppocr.so
|
||||
./libMaaCore.so
|
||||
./libonnxruntime.so.1
|
||||
./libopencv_world4.so.411
|
||||
./libunwind.so.1
|
||||
./smoke_test
|
||||
|
||||
- name: Fetch submodules
|
||||
if: steps.smoke-cache.outputs.cache-hit != 'true'
|
||||
@@ -113,7 +113,7 @@ jobs:
|
||||
if: steps.smoke-cache.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
mkdir -p install
|
||||
cmake --install build --prefix install --config Debug
|
||||
cmake --install build --prefix ./ --config Debug
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
@@ -125,16 +125,16 @@ jobs:
|
||||
with:
|
||||
key: ${{ steps.cache_key.outputs.key }}
|
||||
path: |
|
||||
./install/AsstCaller.h
|
||||
./install/AsstPort.h
|
||||
./install/libc++.so.1
|
||||
./install/libc++abi.so.1
|
||||
./install/libfastdeploy_ppocr.so
|
||||
./install/libMaaCore.so
|
||||
./install/libonnxruntime.so.1
|
||||
./install/libopencv_world4.so.411
|
||||
./install/libunwind.so.1
|
||||
./install/smoke_test
|
||||
./AsstCaller.h
|
||||
./AsstPort.h
|
||||
./libc++.so.1
|
||||
./libc++abi.so.1
|
||||
./libfastdeploy_ppocr.so
|
||||
./libMaaCore.so
|
||||
./libonnxruntime.so.1
|
||||
./libopencv_world4.so.411
|
||||
./libunwind.so.1
|
||||
./smoke_test
|
||||
|
||||
- name: Upload logs
|
||||
if: always()
|
||||
|
||||
@@ -4,12 +4,12 @@ set -e
|
||||
|
||||
clients=("Official" "YoStarJP" "YoStarEN" "YoStarKR" "txwy")
|
||||
error_clients=()
|
||||
log_dir="./install/debug"
|
||||
log_dir="./debug"
|
||||
mkdir -p "$log_dir"
|
||||
|
||||
declare -A pids
|
||||
for client in "${clients[@]}"; do
|
||||
./install/smoke_test "$client" > "$log_dir/asst_${client}.log" 2>&1 &
|
||||
./smoke_test "$client" > "$log_dir/asst_${client}.log" 2>&1 &
|
||||
pids["$client"]=$!
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user