24 lines
810 B
Bash
Executable File
24 lines
810 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Push instructions (x86_64)
|
|
# 0. Only do this on x86_64.
|
|
# 1. docker login
|
|
# 2. ./wasm (builds the image and then runs a container)
|
|
# a. This will create an image tagged by fastled-wasm-compiler
|
|
# 3. docker tag fastled-wasm-compiler:latest niteris/fastled-wasm:latest
|
|
# 4. docker push niteris/fastled-wasm:latest
|
|
#
|
|
# Pull instructions (arm)
|
|
# 0. Only do this on Mac-arm.
|
|
# 1. docker login
|
|
# 2. ./wasm (builds the image and then runs a container)
|
|
# a. This will create an image tagged by fastled-wasm-compiler
|
|
# 3. docker tag fastled-wasm-compiler-arm64:latest niteris/fastled-wasm-arm64:latest
|
|
# 4. docker push niteris/fastled-wasm-arm64:latest
|
|
|
|
|
|
# pass in --build_wasm_compiler to build the wasm compilers.
|
|
|
|
build_flag="-b"
|
|
uv run ci/wasm_compile.py $build_flag "$@"
|