Skip to content

Commit

Permalink
Try and enable wasm tests
Browse files Browse the repository at this point in the history
Use docker actions directly
  • Loading branch information
Mauro Lacy committed Aug 9, 2024
1 parent ba091f4 commit f5f4194
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/wasm-tests.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: babylonchain/babylon-contract/wasm-tests-WIP
name: babylonchain/babylon-contract/wasm-tests
on:
push:
branches: [ "disabled" ]
branches: [ "main" ]
pull_request:
branches: [ "disabled" ]
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
AWS_ACCESS_KEY_ID: xxxxYKF5
Expand All @@ -16,9 +16,25 @@ jobs:
container:
image: rust:1.78.0
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: actions/[email protected]
- name: Build optimised Wasm binaries
run: "./scripts/build-optimizer-ci.sh"
uses: docker/build-push-action@v6
with:
file: docker/Dockerfile-ci
imageid: babylonlabs-io/rust-optimizer
tags: "rust-optimizer:0.16.0"
push: false
- name: Run optimizer
uses: docker/build-push-action@v6
with:
file: docker/Dockerfile-ci
imageid: babylonlabs-io/rust-optimizer
tags: "rust-optimizer:0.16.0"
push: false
- name: Install cosmwasm-check
run: cargo install --locked --debug --version ^2.0 cosmwasm-check
- name: Check the Wasm binaries' validity
Expand Down

0 comments on commit f5f4194

Please sign in to comment.