Support Lamé parameters per triangle (#220) #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-csrc | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-wasm: | |
runs-on: ubuntu-latest | |
container: | |
image: juniorrojas/llvm-enzyme:latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
export LLVM_BIN_DIR=/usr/lib/llvm-11/bin | |
export ENZYME=/Enzyme/enzyme/build/Enzyme/LLVMEnzyme-11.so | |
export BUILD_WASM=1 | |
./build.sh | |
- name: Upload build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: algovivo.wasm | |
path: build/algovivo.wasm | |
build-dynamic-lib: | |
runs-on: ubuntu-latest | |
container: | |
image: juniorrojas/llvm-enzyme:latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
export LLVM_BIN_DIR=/usr/lib/llvm-11/bin | |
export ENZYME=/Enzyme/enzyme/build/Enzyme/LLVMEnzyme-11.so | |
export BUILD_WASM=0 | |
./build.sh | |
- name: Upload build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: libalgovivo.so | |
path: build/libalgovivo.so |