update wasmer; mem.grow compile time limits checks #22
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: libvmexeccapi-build-linux-arm64 | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
build: | |
name: Build library for Linux ARM64 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: "0" | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
load: true | |
platforms: linux/arm64 | |
file: ./Docker/arm64.dockerfile | |
tags: mx-builder | |
- name: Copy library from Docker image | |
run: docker run --platform="linux/arm64" --rm mx-builder cat /data/libvmexeccapi_arm.so > $GITHUB_WORKSPACE/libvmexeccapi_arm.so | |
- name: Save artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifacts-linux-arm64 | |
path: | | |
libvmexeccapi_arm.so | |
if-no-files-found: error |