-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (38 loc) · 913 Bytes
/
cargo.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
44
45
46
47
name: cargo
on:
push:
branches: [main, develop]
pull_request:
types: [opened, synchronize]
env:
RUST_LOG: debug
RUST_BACKTRACE: "1"
CARGO_TERM_COLOR: always
jobs:
cargo:
name: cargo
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: 17
- name: Setup up Rust
run: |
rustup target add riscv64imac-unknown-none-elf
- name: Schemas Is Up to Date
run: |
cargo install moleculec --locked
make clean-schemas schemas
git diff --exit-code .
- name: Build & Test
run: make contract
- uses: actions/upload-artifact@v4
with:
name: contracts
path: build/release/