From a72751ba988336b78e279665d614435158b7b9f1 Mon Sep 17 00:00:00 2001 From: Lee Lup Yuen Date: Mon, 17 Aug 2020 19:13:06 +0800 Subject: [PATCH] Copy files to simulator --- .github/workflows/simulate.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/simulate.yml b/.github/workflows/simulate.yml index 100845af..d172e97c 100644 --- a/.github/workflows/simulate.yml +++ b/.github/workflows/simulate.yml @@ -103,9 +103,9 @@ jobs: cd /tmp git clone https://github.com/AppKaki/lvgl-wasm - - name: Copy Clock.cpp + - name: Copy Watch Face Clock.cpp to LVGL for WebAssembly run: | - echo TODO + cp src/DisplayApp/Screens/Clock.cpp /tmp/lvgl-wasm/clock - name: Build LVGL for WebAssembly run: | @@ -117,17 +117,20 @@ jobs: cd /tmp/lvgl-wasm wasm/lvgl.sh - - name: Copy to GitHub Pages + - name: Show files + run: set ; pwd ; ls -l /tmp/lvgl-wasm + + - name: Copy WebAssembly to GitHub Pages run: | - echo TODO + if [ ! -d docs ]; then + mkdir docs + fi + cp /tmp/lvgl-wasm/wasm/*.html /tmp/lvgl-wasm/wasm/*.js /tmp/lvgl-wasm/wasm/*.wasm /tmp/lvgl-wasm/wasm/*.txt docs - name: Commit GitHub Pages run: | echo TODO - - name: Show files - run: set ; pwd ; ls -l - - name: Upload Outputs uses: actions/upload-artifact@v2 with: