Fix that double free in Async #32
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Memory Leak Detect | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| arkvm-memory: | |
| name: ArkVM N-API memory | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Zig | |
| uses: openharmony-zig/[email protected] | |
| with: | |
| tag: '0.16.0' | |
| - name: Setup ArkVM | |
| id: setup-arkvm | |
| uses: harmony-contrib/[email protected] | |
| with: | |
| cache: true | |
| - name: Validate Ark host bundle | |
| env: | |
| ARK_HOST_TOOLS_DIR: ${{ steps.setup-arkvm.outputs.arkvm-path }} | |
| run: | | |
| set -euo pipefail | |
| echo "Expect host bundle at: ${ARK_HOST_TOOLS_DIR}" | |
| test -x "${ARK_HOST_TOOLS_DIR}/ark_js_napi_cli" | |
| test -x "${ARK_HOST_TOOLS_DIR}/es2abc" | |
| test -f "${ARK_HOST_TOOLS_DIR}/libace_napi.so" | |
| test -f "${ARK_HOST_TOOLS_DIR}/libets_interop_js_napi.so" | |
| - name: Run ArkVM memory tests | |
| shell: bash | |
| env: | |
| ARK_HOST_TOOLS_DIR: ${{ steps.setup-arkvm.outputs.arkvm-path }} | |
| KEEP_WORKDIR: "1" | |
| run: bash scripts/arkvm/run_arkvm_memory_tests.sh |