-
Notifications
You must be signed in to change notification settings - Fork 337
43 lines (40 loc) · 982 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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