Skip to content

Commit

Permalink
fix: refine codes
Browse files Browse the repository at this point in the history
  • Loading branch information
halajohn committed Dec 8, 2024
1 parent d5147d0 commit 1e3d9fd
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 54 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build_linux_ubuntu1804.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ jobs:
chmod +x out/linux/x64/tests/standalone/ten_runtime_unit_test
out/linux/x64/tests/standalone/ten_runtime_unit_test || { echo "test failed"; exit 1; }
# - name: Run Tests (ten_runtime_smoke_test)
# env:
# ASAN_OPTIONS: detect_leaks=1:detect_stack_use_after_return=1:color=always:unmap_shadow_on_exit=1:abort_on_error=1
# MALLOC_CHECK_: 3
# TEN_ENABLE_MEMORY_TRACKING: "true"
# TEN_ENABLE_BACKTRACE_DUMP: "true"
# run: |
# chmod +x out/linux/x64/tests/standalone/ten_runtime_smoke_test
# out/linux/x64/tests/standalone/ten_runtime_smoke_test || { echo "test failed"; exit 1; }
- name: Run Tests (ten_runtime_smoke_test)
env:
ASAN_OPTIONS: detect_leaks=1:detect_stack_use_after_return=1:color=always:unmap_shadow_on_exit=1:abort_on_error=1
MALLOC_CHECK_: 3
TEN_ENABLE_MEMORY_TRACKING: "true"
TEN_ENABLE_BACKTRACE_DUMP: "true"
run: |
chmod +x out/linux/x64/tests/standalone/ten_runtime_smoke_test
out/linux/x64/tests/standalone/ten_runtime_smoke_test || { echo "test failed"; exit 1; }
- name: Run Tests (ten_rust standalone tests)
env:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build_linux_ubuntu2204.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ jobs:
chmod +x out/linux/x64/tests/standalone/ten_runtime_unit_test
out/linux/x64/tests/standalone/ten_runtime_unit_test || { echo "test failed"; exit 1; }
# - name: Run Tests (ten_runtime_smoke_test)
# env:
# ASAN_OPTIONS: detect_leaks=1:detect_stack_use_after_return=1:color=always:unmap_shadow_on_exit=1:abort_on_error=1
# MALLOC_CHECK_: 3
# TEN_ENABLE_MEMORY_TRACKING: "true"
# TEN_ENABLE_BACKTRACE_DUMP: "true"
# run: |
# chmod +x out/linux/x64/tests/standalone/ten_runtime_smoke_test
# out/linux/x64/tests/standalone/ten_runtime_smoke_test || { echo "test failed"; exit 1; }
- name: Run Tests (ten_runtime_smoke_test)
env:
ASAN_OPTIONS: detect_leaks=1:detect_stack_use_after_return=1:color=always:unmap_shadow_on_exit=1:abort_on_error=1
MALLOC_CHECK_: 3
TEN_ENABLE_MEMORY_TRACKING: "true"
TEN_ENABLE_BACKTRACE_DUMP: "true"
run: |
chmod +x out/linux/x64/tests/standalone/ten_runtime_smoke_test
out/linux/x64/tests/standalone/ten_runtime_smoke_test || { echo "test failed"; exit 1; }
- name: Run Tests (ten_rust standalone tests)
env:
Expand Down
54 changes: 27 additions & 27 deletions .github/workflows/build_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ jobs:
chmod +x out/mac/arm64/tests/standalone/ten_runtime_unit_test
out/mac/arm64/tests/standalone/ten_runtime_unit_test
# - name: Run Tests (ten_runtime_smoke_test)
# env:
# ASAN_OPTIONS: detect_stack_use_after_return=1:color=always:unmap_shadow_on_exit=1:abort_on_error=1
# MALLOC_CHECK_: 3
# TEN_ENABLE_MEMORY_TRACKING: "true"
# TEN_ENABLE_BACKTRACE_DUMP: "true"
# run: |
# chmod +x out/mac/arm64/tests/standalone/ten_runtime_smoke_test
# out/mac/arm64/tests/standalone/ten_runtime_smoke_test
- name: Run Tests (ten_runtime_smoke_test)
env:
ASAN_OPTIONS: detect_stack_use_after_return=1:color=always:unmap_shadow_on_exit=1:abort_on_error=1
MALLOC_CHECK_: 3
TEN_ENABLE_MEMORY_TRACKING: "true"
TEN_ENABLE_BACKTRACE_DUMP: "true"
run: |
chmod +x out/mac/arm64/tests/standalone/ten_runtime_smoke_test
out/mac/arm64/tests/standalone/ten_runtime_smoke_test
- name: Run Tests (ten_rust standalone tests)
env:
Expand Down Expand Up @@ -262,15 +262,15 @@ jobs:
chmod +x out/mac/x64/tests/standalone/ten_runtime_unit_test
out/mac/x64/tests/standalone/ten_runtime_unit_test
# - name: Run Tests (ten_runtime_smoke_test)
# env:
# ASAN_OPTIONS: detect_stack_use_after_return=1:color=always:unmap_shadow_on_exit=1:abort_on_error=1
# MALLOC_CHECK_: 3
# TEN_ENABLE_MEMORY_TRACKING: "true"
# TEN_ENABLE_BACKTRACE_DUMP: "true"
# run: |
# chmod +x out/mac/x64/tests/standalone/ten_runtime_smoke_test
# out/mac/x64/tests/standalone/ten_runtime_smoke_test
- name: Run Tests (ten_runtime_smoke_test)
env:
ASAN_OPTIONS: detect_stack_use_after_return=1:color=always:unmap_shadow_on_exit=1:abort_on_error=1
MALLOC_CHECK_: 3
TEN_ENABLE_MEMORY_TRACKING: "true"
TEN_ENABLE_BACKTRACE_DUMP: "true"
run: |
chmod +x out/mac/x64/tests/standalone/ten_runtime_smoke_test
out/mac/x64/tests/standalone/ten_runtime_smoke_test
- name: Run Tests (ten_rust standalone tests)
env:
Expand Down Expand Up @@ -401,12 +401,12 @@ jobs:
tgn build mac arm64 ${{ matrix.build_type }}
tree -I 'gen|obj' out
# - name: Run Tests (ten_runtime_smoke_test)
# env:
# ASAN_OPTIONS: detect_stack_use_after_return=1:color=always:unmap_shadow_on_exit=1:abort_on_error=1
# MALLOC_CHECK_: 3
# TEN_ENABLE_MEMORY_TRACKING: "true"
# TEN_ENABLE_BACKTRACE_DUMP: "true"
# run: |
# chmod +x out/mac/arm64/tests/standalone/ten_runtime_smoke_test
# out/mac/arm64/tests/standalone/ten_runtime_smoke_test
- name: Run Tests (ten_runtime_smoke_test)
env:
ASAN_OPTIONS: detect_stack_use_after_return=1:color=always:unmap_shadow_on_exit=1:abort_on_error=1
MALLOC_CHECK_: 3
TEN_ENABLE_MEMORY_TRACKING: "true"
TEN_ENABLE_BACKTRACE_DUMP: "true"
run: |
chmod +x out/mac/arm64/tests/standalone/ten_runtime_smoke_test
out/mac/arm64/tests/standalone/ten_runtime_smoke_test
18 changes: 9 additions & 9 deletions .github/workflows/build_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ jobs:
chmod +x out/win/x64/tests/standalone/ten_runtime_unit_test
out/win/x64/tests/standalone/ten_runtime_unit_test
# - name: Run Tests (ten_runtime_smoke_test)
# env:
# TEN_ENABLE_BACKTRACE_DUMP: "true"
# run: |
# chmod +x out/win/x64/tests/standalone/ten_runtime_smoke_test
# out/win/x64/tests/standalone/ten_runtime_smoke_test
- name: Run Tests (ten_runtime_smoke_test)
env:
TEN_ENABLE_BACKTRACE_DUMP: "true"
run: |
chmod +x out/win/x64/tests/standalone/ten_runtime_smoke_test
out/win/x64/tests/standalone/ten_runtime_smoke_test
- name: Run Tests (ten_rust standalone tests)
run: |
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
$ENV:PATH += ";$PWD/core/ten_gn"
cd out/win/x64/
pytest -s tests/ten_runtime/integration/
continue-on-error: true
# continue-on-error: true

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3

0 comments on commit 1e3d9fd

Please sign in to comment.