-
Notifications
You must be signed in to change notification settings - Fork 53
87 lines (82 loc) · 2.82 KB
/
icar-develop-commit.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# except for the badge creation, keep icar-pull-request.yml jobs in parity
name: develop
on:
push:
branches:
- develop
workflow_dispatch:
jobs:
build_and_test_ICAR:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
# Create Processing Badges
# - name: Create Processing Build Badge
# uses: Schneegans/[email protected]
# with:
# auth: ${{ secrets.ACTIONS_WORKFLOW }}
# gistID: 4f0cf076055d12564693853a57f95614
# filename: build.json
# label: build
# message: processing
# color: lightgrey
# - name: Create Success Run Badge
# uses: Schneegans/[email protected]
# with:
# auth: ${{ secrets.ACTIONS_WORKFLOW }}
# gistID: 4f0cf076055d12564693853a57f95614
# filename: run.json
# label: run
# message: processing
# color: lightgrey
# Build Dependencies then ICAR
- name: Dependencies
run: bash .github/scripts/icar_install_utils.sh icar_dependencies
- name: Build
run: bash .github/scripts/icar_install_utils.sh icar_install
# Create Build Badge
# - name: Create Failure Build Badge
# if: failure()
# uses: Schneegans/[email protected]
# with:
# auth: ${{ secrets.ACTIONS_WORKFLOW }}
# gistID: 4f0cf076055d12564693853a57f95614
# filename: build.json
# label: build
# message: failed
# color: critical
# - name: Create Success Build Badge
# uses: Schneegans/[email protected]
# with:
# auth: ${{ secrets.ACTIONS_WORKFLOW }}
# gistID: 4f0cf076055d12564693853a57f95614
# filename: build.json
# label: build
# message: passing
# color: success
# Run ICAR with generated test data
- name: Generate Test Run Data
run: bash .github/scripts/icar_install_utils.sh gen_test_run_data
- name: Execute Test Run
run: bash .github/scripts/icar_install_utils.sh execute_test_run
# Create Run Badge
# - name: Create Failure Run Badge
# if: failure()
# uses: Schneegans/[email protected]
# with:
# auth: ${{ secrets.ACTIONS_WORKFLOW }}
# gistID: 4f0cf076055d12564693853a57f95614
# filename: run.json
# label: run
# message: failed
# color: critical
# - name: Create Success Run Badge
# uses: Schneegans/[email protected]
# with:
# auth: ${{ secrets.ACTIONS_WORKFLOW }}
# gistID: 4f0cf076055d12564693853a57f95614
# filename: run.json
# label: run
# message: passing
# color: success