You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a CI which automatic build the shared libraries.
Motivation
The shared libraries are referenced by other project like finschia for building.
we need to compile shared library every commit is added if we want to apply the changes of wasmvm, but it doesn't seems to do that often. So I propose adding CI to automatically build the shared libraries.
deploy_to_git:
machine:
image: ubuntu-2004:2022.10.1resource_class: xlargesteps:
- add_ssh_keys:
fingerprints:
# Custom read/write deployment key with private key stored on CircleCI# (see https://app.circleci.com/settings/project/github/CosmWasm/wasmvm/ssh and https://github.com/CosmWasm/wasmvm/settings/keys)
- "31:de:e5:84:1b:12:81:94:aa:06:50:c0:cb:bd:79:f0"
- checkout
- run:
name: Build shared library for Linuxcommand: make release-build-linux
- run:
name: Build shared library for macOScommand: make release-build-macos# Shared libraries for Windows (.dll) currently do not work (https://github.com/CosmWasm/wasmvm/issues/389)# and .dll builds are not deterministic.# Deactivating this step to avoid polluting the git hostory.## - run:# name: Build shared library for Windows# command: make release-build-windows
- run:
name: Debug build resultscommand: ls -l ./internal/api
- run:
name: Configure git user# This is not a GitHub user and no permissions can be configured other than "push access", which# we can configure for Deploy keys at https://github.com/CosmWasm/wasmvm/settings/keyscommand: | git config user.email "wasmvm@circleci.confio.example.com" git config user.name "Deployer"
- run:
name: Check-in and push new librariescommand: | git status git add ./internal/api git commit --allow-empty -m '[skip ci] Built release libraries' git push origin $CIRCLE_BRANCH
Proposal
If new commit is added in main branch, a CI automatically detect and add new PR which compile the shared libraries and change it. -> if there is no changed in the shared libraries to build, do not this.
if the all test of the PR are passed, do auto-merge.
The text was updated successfully, but these errors were encountered:
Summary
Add a CI which automatic build the shared libraries.
Motivation
The shared libraries are referenced by other project like finschia for building.
we need to compile shared library every commit is added if we want to apply the changes of wasmvm, but it doesn't seems to do that often. So I propose adding CI to automatically build the shared libraries.
The
cosmwasm/wasmvm
already do auto commit it.https://github.com/CosmWasm/wasmvm/blob/1638725b25d799f078d053391945399cb35664b1/.circleci/config.yml#L282-L322
Proposal
The text was updated successfully, but these errors were encountered: