-
Notifications
You must be signed in to change notification settings - Fork 179
60 lines (56 loc) · 1.37 KB
/
netsim.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
name: netsim-CI
on:
push:
branches:
- main
workflow_dispatch:
inputs:
pr_number:
required: true
type: string
branch:
required: true
type: string
netsim_branch:
required: true
type: string
default: "main"
report_table:
required: false
type: boolean
default: false
env:
RUST_BACKTRACE: 1
RUSTFLAGS: -Dwarnings
MSRV: "1.66"
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
IROH_FORCE_STAGING_RELAYS: "1"
jobs:
netsim-release:
permissions: write-all
if: ${{github.ref_name=='main' && github.event_name == 'push'}}
uses: './.github/workflows/netsim_runner.yaml'
secrets: inherit
with:
branch: "main"
max_workers: 1
netsim_branch: "main"
sim_paths: "sims/iroh,sims/integration"
pr_number: ""
publish_metrics: true
build_profile: "optimized-release"
netsim-perf:
permissions: write-all
if: ${{github.event_name != 'push'}}
uses: './.github/workflows/netsim_runner.yaml'
secrets: inherit
with:
branch: ${{inputs.branch}}
max_workers: 1
netsim_branch: ${{inputs.netsim_branch}}
sim_paths: "sims/iroh"
pr_number: ${{inputs.pr_number}}
publish_metrics: false
build_profile: "optimized-release"
report_table: ${{inputs.report_table}}