-
Notifications
You must be signed in to change notification settings - Fork 82
52 lines (49 loc) · 1.21 KB
/
no-std.yaml
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
48
49
50
51
52
name: no_std check
on:
pull_request:
paths:
- .github/workflows/no-std.yaml
- Makefile
- '*.toml'
- Cargo.lock
- ci/no-std-check/**
- ibc/**
- ibc-core/**
- ibc-apps/**
- ibc-data-types/**
- ibc-clients/**
- ibc-primitives/**
- ibc-derive/**
push:
tags:
- v[0-9]+.*
branches:
- "release/*"
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main' }}
jobs:
check-no-std-panic-conflict:
name: Check no_std panic conflict
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- run: |
cd ci/no-std-check
make check-no-std
check-substrate:
name: Check no_std substrate support
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
- run: |
cd ci/no-std-check
make check-substrate