3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 09:55:19 +00:00

Create wasm.yml

initial wasm
This commit is contained in:
Nikolaj Bjorner 2021-10-29 15:27:49 +02:00 committed by GitHub
parent 4dad414161
commit 780761a29e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

30
.github/workflows/wasm.yml vendored Normal file
View file

@ -0,0 +1,30 @@
name: WASM Build
on:
push:
branches: [ master ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Configure CMake and build
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_SYSTEM_NAME=WASM -DCMAKE_SYSTEM_VERSION=21
make -j $(nproc)
tar -cvf z3-build-wasm.tar *.jar *.so
- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: build-wasm
path: build/z3-build-wasm.tar