Skip to content

Commit

Permalink
Merge pull request #40 from maslick/fixing-ci
Browse files Browse the repository at this point in the history
do not build qr and barcode WASM, build qr+barcode (all) instead
  • Loading branch information
maslick authored Jan 12, 2022
2 parents 6fc5260 + 09bad1e commit 614328d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ jobs:
uses: actions/checkout@master
- name: pull emscripten-zbar-sdk
run: docker pull maslick/emscripten-zbar-sdk
- name: build QR wasm
run: docker run -e INPUT_FILE=zbar/qr.cpp -e OUTPUT_FILE=qr -v $(pwd):/app maslick/emscripten-zbar-sdk make
- name: build BAR wasm
run: docker run -e INPUT_FILE=zbar/barcode.cpp -e OUTPUT_FILE=barcode -v $(pwd):/app maslick/emscripten-zbar-sdk make
- name: build wasm
run: docker run -e INPUT_FILE=zbar/all.cpp -e OUTPUT_FILE=all -v $(pwd):/app maslick/emscripten-zbar-sdk make
- name: upload wasm artifact
uses: actions/upload-artifact@v1
with:
Expand All @@ -38,7 +36,7 @@ jobs:
- name: pull emscripten-zbar-sdk
run: docker pull maslick/emscripten-zbar-sdk
- name: build ALL wasm
run: docker run -e INPUT_FILE=zbar/all.cpp -e OUTPUT_FILE=all -e OUTPUT_DIR=docs/wasm -v $(pwd):/app maslick/emscripten-zbar-sdk make vanilla-js -B
run: docker run -e INPUT_FILE=zbar/all.cpp -e OUTPUT_FILE=all -e OUTPUT_DIR=docs/wasm -v $(pwd):/app maslick/emscripten-zbar-sdk make vanilla-js
- name: upload vanilla-js artifact
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 614328d

Please sign in to comment.