Skip to content

Commit

Permalink
Add home-automation wasm demo
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Oct 25, 2024
1 parent e055753 commit 82a58aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly_snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ jobs:
rm -rf $output_path/demos
mkdir -p $output_path/demos
for demo_subdir in examples,gallery, demos,printerdemo,rust examples,todo,rust examples,todo-mvc,rust examples,slide_puzzle, examples,memory, examples,imagefilter,rust examples,plotter, examples,opengl_underlay, examples,carousel,rust demos,energy-monitor, examples,weather-demo,; do
for demo_subdir in examples,gallery, demos,printerdemo,rust examples,todo,rust examples,todo-mvc,rust examples,slide_puzzle, examples,memory, examples,imagefilter,rust examples,plotter, examples,opengl_underlay, examples,carousel,rust demos,energy-monitor, examples,weather-demo, demos,home-automation,rust; do
IFS=',' read example_or_demo demo subdir <<< "${demo_subdir}"
mkdir -p $output_path/demos/$demo
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/wasm_demos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Remaining wasm demos
if: ${{ inputs.build_artifacts }}
run: |
for demo in demos/printerdemo/rust examples/todo/rust examples/todo-mvc/rust examples/carousel/rust examples/slide_puzzle examples/memory examples/imagefilter/rust examples/plotter examples/opengl_underlay; do
for demo in demos/printerdemo/rust examples/todo/rust examples/todo-mvc/rust examples/carousel/rust examples/slide_puzzle examples/memory examples/imagefilter/rust examples/plotter examples/opengl_underlay demos/home-automation/rust; do
pushd $demo
sed -i "s/#wasm# //" Cargo.toml
wasm-pack build --release --target web
Expand Down Expand Up @@ -80,6 +80,7 @@ jobs:
examples/plotter/
examples/opengl_underlay/
demos/energy-monitor/
demos/home-automation/rust
examples/weather-demo/
!/**/.gitignore
- name: Clean cache # Otherwise the cache is much too big
Expand Down

0 comments on commit 82a58aa

Please sign in to comment.