Skip to content

Commit

Permalink
Change test in build.yml to build_wasm flag
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Aug 5, 2022
1 parent 4710a2a commit 298ba17
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,33 +48,38 @@ jobs:
cross_compilation_artifact_name: 'cross_compiled_from_linux'
use_sccache: true
use_llvm: true
build_wasm: true
- build: macos-x64
os: macos-11
llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/13.x/llvm-darwin-amd64.tar.xz'
artifact_name: 'wasmer-darwin-amd64'
cross_compilation_artifact_name: 'cross_compiled_from_mac'
use_sccache: true
use_llvm: true
build_wasm: false
- build: macos-arm64
os: macos-11.0
target: aarch64-apple-darwin
artifact_name: 'wasmer-darwin-arm64'
use_sccache: true
use_llvm: false
build_wasm: false
- build: windows-x64
os: windows-2019
artifact_name: 'wasmer-windows-amd64'
llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/13.x/llvm-windows-amd64.tar.xz'
cross_compilation_artifact_name: 'cross_compiled_from_win'
use_sccache: true
use_llvm: true
build_wasm: false
- build: linux-musl-x64
os: ubuntu-latest
artifact_name: 'wasmer-linux-musl-amd64'
#llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/13.x/llvm-linux-amd64.tar.xz'
container: alpine:latest
use_sccache: false
use_llvm: false
build_wasm: true
container: ${{ matrix.container }}
env:
SCCACHE_AZURE_BLOB_CONTAINER: wasmerstoragesccacheblob
Expand Down Expand Up @@ -192,7 +197,7 @@ jobs:
run: |
make build-wasmer
- name: Build Wasmer binary on Wasm32-WASI without LLVM
if: matrix.use_llvm != true
if: matrix.build_wasm
shell: bash
run: |
make build-wasmer-wasm
Expand Down

0 comments on commit 298ba17

Please sign in to comment.