Skip to content

update rust version, optimize build image time #34

update rust version, optimize build image time

update rust version, optimize build image time #34

Workflow file for this run

name: Build workflow
on:
push:
branches-ignore:
- 'master'
tags-ignore:
- '**'
paths:
- '.github/workflows/build.yaml'
- 'api/binding.h'
- 'api/libgo_owasm.dylib'
- 'api/libgo_owasm.so'
- 'libgo_owasm/**'
- 'build/**'
- 'Makefile'
jobs:
build_shared_libs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build docker images
run: |
make docker-image-linux
make docker-image-osx
- name: Build shared libs
run: |
make release-linux
make release-osx
- name: Check if there is any change
id: check-diff
run: |
git add -A
git diff HEAD --quiet || echo "diff=true" >> $GITHUB_OUTPUT
- name: Commit and Push libs
if: steps.check-diff.outputs.diff == 'true'
run: |
git config --global user.name 'Builder'
git config --global user.email 'go-owasm@users.noreply.github.com'
git commit -am "Built shared libs"
git push