Skip to content

Commit

Permalink
wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
YGXXD committed Apr 18, 2024
1 parent 22a1180 commit 08d0879
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/cmake_ktm_wasm_test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
name: cmake ktm wasm test
name: cmake ktm wasm test

on:
push:
Expand All @@ -25,13 +25,7 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Set up emscripten
uses: emsdk/emsdk-setup-action@v3
with:
emsdk_version: 'latest'
no_browser: true


- name: Set reusable strings
id: strings
shell: bash
Expand All @@ -40,7 +34,7 @@ jobs:
echo "build-output-test-dir=${{ github.workspace }}/build/test" >> "$GITHUB_OUTPUT"
echo "emscripten-root-dir=${{ github.workspace }}/emsdk/upstream/emscripten" >> "$GITHUB_OUTPUT"
- name: Configure CMake
- name: Configure CMake
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DKTM_BUILD_TESTING=ON
Expand All @@ -56,4 +50,4 @@ jobs:
run: ctest --build-config ${{ matrix.build_type }}

- name: Install
run: cmake --install ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
run: cmake --install ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}

0 comments on commit 08d0879

Please sign in to comment.