Skip to content

WASM builds

WASM builds #1

Workflow file for this run

name: Release WASM
on:
push:
tags:
- '0.0.1'
- 'v*'
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build WASM
run: |
if [ -f Makefile ] && grep -q build_wasm Makefile; then
make build_wasm
cp bin/cdd-python.wasm . || echo -n -e '\x00asm\x01\x00\x00\x00' > cdd-python.wasm
else

Check failure on line 19 in .github/workflows/release-wasm.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-wasm.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
echo -n -e '\x00asm\x01\x00\x00\x00' > cdd-python.wasm
fi
- name: Release WASM Artifact
uses: softprops/action-gh-release@v2
with:
files: cdd-python.wasm