Skip to content

Commit

Permalink
update deployment workflow to use cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Moros1138 committed Sep 20, 2024
1 parent c618dfb commit d9fbcc9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/emscripten-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- name: Build with Emscripten
run: |
source emsdk/emsdk_env.sh
cd demo
make emscripten
emcmake cmake . -B emscripten-build
cmake --build emscripten-build --config=Release
shell: bash

- name: Deploy Main Demo
Expand All @@ -43,7 +43,7 @@ jobs:
username: ${{ secrets.REMOTE_SERVER_USER }}
key: ${{ secrets.REMOTE_SERVER_SSH_KEY }}
port: ${{ secrets.REMOTE_SERVER_PORT }}
source: "demo/demo.html,demo/demo.js,demo/demo.wasm,demo/demo.data"
source: "emscripten-build/demo.html,emscripten-build/demo.js,emscripten-builddemo.wasm,emscripten-build/demo.data"
target: ${{ secrets.REMOTE_SERVER_DIRECTORY }}
strip_components: 1

Expand All @@ -54,7 +54,7 @@ jobs:
username: ${{ secrets.REMOTE_SERVER_USER }}
key: ${{ secrets.REMOTE_SERVER_SSH_KEY }}
port: ${{ secrets.REMOTE_SERVER_PORT }}
source: "demo/demo_waveform.html,demo/demo_waveform.js,demo/demo_waveform.wasm,demo/demo_waveform.data"
source: "emscripten-build/demo_waveform.html,emscripten-build/demo_waveform.js,emscripten-build/demo_waveform.wasm,emscripten-build/demo_waveform.data"
target: ${{ secrets.REMOTE_SERVER_DIRECTORY }}
strip_components: 1

Expand All @@ -65,6 +65,6 @@ jobs:
username: ${{ secrets.REMOTE_SERVER_USER }}
key: ${{ secrets.REMOTE_SERVER_SSH_KEY }}
port: ${{ secrets.REMOTE_SERVER_PORT }}
source: "demo/demo_synthesis.html,demo/demo_synthesis.js,demo/demo_synthesis.wasm,demo/demo_synthesis.data"
source: "emscripten-build/demo_synthesis.html,emscripten-build/demo_synthesis.js,emscripten-build/demo_synthesis.wasm,emscripten-build/demo_synthesis.data"
target: ${{ secrets.REMOTE_SERVER_DIRECTORY }}
strip_components: 1

0 comments on commit d9fbcc9

Please sign in to comment.