Open fuxingloh opened 2 years ago
@fuxingloh: There are no 'area' labels on this issue. Adding an appropriate label will greatly expedite the process for us. You can add as many area as you see fit. If you are unsure what to do you can ignore this!
You can add area labels by leaving a /area
comment.
/area testsuite
@fuxingloh , I looked for multiple solution, the best is using https://github.com/pguyot/arm-runner-action for testing arm builds but its using an arm vm under the hood. for real, testing we have to use a self-hosted runner similar to what defichain is using to test on multiple platform. refer to https://github.com/actions/runner-images/issues/2552 has discussion on buildx
and qemu
on GitHub actions
Hmm. Let's wait for the official support of non-self-hosted arm-runners from GitHub.
For now, let's just do basic Container testing for builds in @defimetachain/testsuite-docker-sanity
via a different OS first.
jobs:
sanity:
name: Testsuite Docker Sanity
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
What would you like to be added:
For
.github/workflows/release-docker.yml
, we need to ensure the workflow released can run on all silicon architecture. This also acts as a set of sanity tests to ensure each docker image can be run after building.We should do this in jest and call it
packages/testsuite-docker-sanity
.Why is this needed:
Shift left workflow for https://github.com/DeFiCh/metachain/issues/61 and https://github.com/DeFiCh/metachain/issues/62
/triage accepted /assign @fuxingloh