mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 14:51:15 +00:00
CI: upload the todo demo
This commit is contained in:
parent
60cf022b69
commit
09e9336c75
1 changed files with 10 additions and 2 deletions
12
.github/workflows/ci.yaml
vendored
12
.github/workflows/ci.yaml
vendored
|
@ -120,8 +120,8 @@ jobs:
|
||||||
rm -rf target/*/incremental
|
rm -rf target/*/incremental
|
||||||
rm -rf target/*/*/*sixtyfps*
|
rm -rf target/*/*/*sixtyfps*
|
||||||
rm -rf target/*/*sixtyfps*
|
rm -rf target/*/*sixtyfps*
|
||||||
rm -rf target/*/*/test* target/*/*/gallery* target/*/*/printerdemo* target/*/*/viewer*
|
rm -rf target/*/*/test* target/*/*/gallery* target/*/*/printerdemo* target/*/*/viewer* target/*/*/todo*
|
||||||
rm -rf target/*/viewer target/*/printerdemo target/*/gallery target/*/*test*
|
rm -rf target/*/viewer target/*/printerdemo target/*/gallery target/*/todo target/*/*test*
|
||||||
du -hs target
|
du -hs target
|
||||||
|
|
||||||
docs_and_demos:
|
docs_and_demos:
|
||||||
|
@ -192,6 +192,11 @@ jobs:
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
working-directory: examples/printerdemo/wasm
|
working-directory: examples/printerdemo/wasm
|
||||||
|
- name: Todo demo WASM build
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
working-directory: examples/todo/wasm
|
||||||
- name: "Rust docs"
|
- name: "Rust docs"
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
@ -205,6 +210,7 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
examples/gallery/wasm/dist/
|
examples/gallery/wasm/dist/
|
||||||
examples/printerdemo/wasm/dist/
|
examples/printerdemo/wasm/dist/
|
||||||
|
examples/todo/wasm/dist/
|
||||||
api/sixtyfps-wasm-interpreter/pkg/
|
api/sixtyfps-wasm-interpreter/pkg/
|
||||||
target/doc
|
target/doc
|
||||||
target/cppdocs/html
|
target/cppdocs/html
|
||||||
|
@ -235,8 +241,10 @@ jobs:
|
||||||
mkdir -p demos
|
mkdir -p demos
|
||||||
mkdir -p demos/gallery
|
mkdir -p demos/gallery
|
||||||
mkdir -p demos/printerdemo
|
mkdir -p demos/printerdemo
|
||||||
|
mkdir -p demos/todo
|
||||||
cp -a ../examples/gallery/wasm/dist/* demos/gallery/
|
cp -a ../examples/gallery/wasm/dist/* demos/gallery/
|
||||||
cp -a ../examples/printerdemo/wasm/dist/* demos/printerdemo/
|
cp -a ../examples/printerdemo/wasm/dist/* demos/printerdemo/
|
||||||
|
cp -a ../examples/todo/wasm/dist/* demos/todo/
|
||||||
git add demos
|
git add demos
|
||||||
git add -u demos
|
git add -u demos
|
||||||
rm -rf wasm-interpreter
|
rm -rf wasm-interpreter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue