BLS12-381 signature verification #3877
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: Contract Development | |
# Pushes to long living branches and all PRs | |
on: | |
push: | |
branches: | |
- main | |
- 0.[0-9]+ | |
pull_request: | |
env: | |
RUST_BACKTRACE: 1 | |
jobs: | |
test-hackatom: | |
name: ${{ matrix.build }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- build: macOS | |
os: macOS-latest | |
- build: Windows | |
os: windows-latest | |
defaults: | |
run: | |
shell: bash | |
working-directory: ./contracts/hackatom | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: 1.73.0 | |
targets: wasm32-unknown-unknown | |
- name: Build hackatom wasm | |
run: cargo wasm --locked | |
- name: Unit Test hackatom | |
run: cargo unit-test --locked | |
- name: Integration Test hackatom | |
run: cargo integration-test --locked |