-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (43 loc) · 1.09 KB
/
pr-build-chronicle.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
name: Compile chronicle
on:
pull_request:
paths:
- '.github/actions/cargo-command/**'
- '.github/workflows/pr-build-chronicle.yaml'
- 'chronicle/**'
- 'config/subxt/**'
- 'lib/**'
- 'primitives/**'
- 'tc-subxt/**'
- 'tss/**'
- 'Cargo.toml'
- 'Cargo.lock'
- 'rust-toolchain.toml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-chronicle:
runs-on: [self-hosted, general]
strategy:
fail-fast: false
matrix:
profile:
- production
- testnet
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build chronicle
uses: ./.github/actions/cargo-command
with:
package: chronicle
profile: ${{ matrix.profile }}
- name: Upload chronicle
uses: actions/upload-artifact@v4
with:
name: chronicle.${{ matrix.profile }}
if-no-files-found: error
path: target/${{ matrix.profile }}/chronicle