Skip to content

Commit

Permalink
build runtime in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xujuntwt95329 committed Dec 25, 2023
1 parent 53ea2db commit 4a2a13f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ts2wasm_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,34 @@ jobs:
- name: Test compilation
run:
npm run test

validate_execution:
needs:
[install_dependencies]
runs-on: macos-latest
strategy:
matrix:
target: [
"X86_64"
]

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 5

- name: download dependencies
run: |
./download.sh
working-directory: runtime-library/deps

- name: Build runtime
run: |
mkdir build && cd build
cmake .. -DWAMR_BUILD_PLATFORM="darwin" -DWAMR_BUILD_TARGET=${{ matrix.target }} -DWAMR_GC_IN_EVERY_ALLOCATION=1 && make -j$(nproc)
working-directory: runtime-library/

- name: Validate execution
run:
npm start
working-directory: tools/validate/wamr

0 comments on commit 4a2a13f

Please sign in to comment.