-
Notifications
You must be signed in to change notification settings - Fork 49
61 lines (51 loc) · 1.99 KB
/
nightly-check-node-features-build.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
# This workflow checks node build with various features
name: Nightly feature-gated builds
on:
workflow_dispatch:
schedule:
- cron: '00 20 * * *'
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
feature-gated-builds:
name: Feature-gated builds
runs-on: [self-hosted, Linux, X64, large]
env:
RUST_BACKTRACE: full
RUSTC_WRAPPER: sccache
steps:
- name: Checkout aleph-node source code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v7
with:
targets: wasm32-unknown-unknown
- name: aleph-runtime with try-runtime
run: cargo check --profile production -p aleph-runtime --features try-runtime --locked
- name: aleph-runtime with runtime-benchmarks
# yamllint disable-line rule:line-length
run: cargo check --profile production -p aleph-runtime --features runtime-benchmarks --locked
- name: aleph-node with runtime-benchmarks
run: cargo check --profile production -p aleph-node --features runtime-benchmarks --locked
- name: aleph-node with try-runtime
run: cargo check --profile production -p aleph-node --features try-runtime --locked
- name: aleph-node with aleph-runtime-native
run: cargo check --profile dev -p aleph-node --features aleph-runtime-native --locked
- name: chain-bootstrapper with try-runtime
run: cargo check --profile production -p chain-bootstrapper --features try-runtime --locked
slack-notification:
name: Slack notification
runs-on: ubuntu-20.04
needs: [feature-gated-builds]
if: >
!cancelled() &&
github.event_name != 'workflow_dispatch'
steps:
- name: Send Slack message
uses: Cardinal-Cryptography/github-actions/slack-notification@v7
with:
notify-on: "failure"
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DEV_ONDUTY }}