build(deps): bump cosmossdk.io/math from 1.3.0 to 1.4.0 (#167) #38
Workflow file for this run
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: Release rust libmovevm | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- "*" | |
jobs: | |
build-linux-glibc: | |
name: Linux glibc | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: make release-build-linux | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: libmovevm-linux-glibc | |
path: api/*.so | |
build-linux-muslc: | |
name: Linux muslc (alpine) | |
if: startsWith(github.ref, 'refs/tags/') # Build linux-muslc only on tags/releases | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: make release-build-alpine | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: libmovevm-linux-muslc | |
path: api/*.a | |
build-macos: | |
name: MacOS glibc | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: make release-build-macos | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: libmovevm-macos | |
path: api/*.dylib | |
release: | |
name: Release shared libraries | |
needs: [build-linux-glibc, build-linux-muslc, build-macos] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get linux-glibc artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
name: libmovevm-linux-glibc | |
- name: Get linux-muslc artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
name: libmovevm-linux-muslc | |
- name: Get macos artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
name: libmovevm-macos | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
*.so | |
*.a | |
*.dylib |