Bump version to 1.1.11 #124
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, pull_request] | |
# push: | |
# branches: | |
# - secret | |
# - 0.[0-9]+ | |
# pull_request: | |
env: | |
RUST_BACKTRACE: 1 | |
jobs: | |
test-packages: | |
name: Package Tests for ${{ matrix.build }} ${{ matrix.rust }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
rust: [1.60.0, stable] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
target: wasm32-unknown-unknown | |
profile: minimal | |
override: true | |
- name: Build std | |
run: cargo build | |
- name: Test std | |
run: cargo test | |
test-hackatom: | |
name: Contract Tests for ${{ matrix.build }} ${{ matrix.rust }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
rust: [1.60.0, stable] | |
defaults: | |
run: | |
shell: bash | |
working-directory: ./contracts/hackatom | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: ./.github/actions/install-rust | |
with: | |
toolchain: ${{ matrix.rust }} | |
- name: Add wasm toolchain | |
run: | | |
rustup target add 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 |