This repository was archived by the owner on Oct 11, 2024. It is now read-only.
Commit e0e8de8 1 parent 461cf45 commit e0e8de8 Copy full SHA for e0e8de8
File tree 2 files changed +140
-0
lines changed
2 files changed +140
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : build-test
2
+ on :
3
+ # makes workflow reusable
4
+ workflow_call :
5
+ inputs :
6
+ build_label :
7
+ description : " requested runner label (specifies instance)"
8
+ type : string
9
+ required : true
10
+ timeout :
11
+ description : " time limit for run in minutes "
12
+ type : string
13
+ required : true
14
+ gitref :
15
+ description : " git commit hash or branch name"
16
+ type : string
17
+ required : true
18
+ Gi_per_thread :
19
+ description : ' requested GiB to reserve per thread'
20
+ type : string
21
+ required : true
22
+ python :
23
+ description : " python version, e.g. 3.10.12"
24
+ type : string
25
+ required : true
26
+
27
+ # makes workflow manually callable
28
+ workflow_dispatch :
29
+ inputs :
30
+ build_label :
31
+ description : " requested runner label (specifies instance)"
32
+ type : string
33
+ required : true
34
+ timeout :
35
+ description : " time limit for run in minutes "
36
+ type : string
37
+ required : true
38
+ gitref :
39
+ description : " git commit hash or branch name"
40
+ type : string
41
+ required : true
42
+ Gi_per_thread :
43
+ description : ' requested GiB to reserve per thread'
44
+ type : string
45
+ required : true
46
+ python :
47
+ description : " python version, e.g. 3.10.12"
48
+ type : string
49
+ required : true
50
+
51
+ jobs :
52
+
53
+ BUILD :
54
+
55
+ runs-on : ${{ inputs.build_label }}
56
+ timeout-minutes : ${{ fromJson(inputs.timeout) }}
57
+
58
+ steps :
59
+
60
+ - name : checkout
61
+ id : checkout
62
+ uses : actions/checkout@v4
63
+ with :
64
+ fetch-depth : 0
65
+ ref : ${{ inputs.gitref }}
66
+ submodules : recursive
Original file line number Diff line number Diff line change
1
+ name : build-test
2
+ on :
3
+ # makes workflow reusable
4
+ workflow_call :
5
+ inputs :
6
+ test_label :
7
+ description : " requested runner label (specifies instance)"
8
+ type : string
9
+ required : true
10
+ timeout :
11
+ description : " time limit for run in minutes "
12
+ type : string
13
+ required : true
14
+ gitref :
15
+ description : " git commit hash or branch name"
16
+ type : string
17
+ required : true
18
+ python :
19
+ description : " python version, e.g. 3.10.12"
20
+ type : string
21
+ required : true
22
+ whl :
23
+ description : " whl to test (variable appears late binding so unusable outside 'download artifact')"
24
+ type : string
25
+ required : true
26
+ test_skip_list :
27
+ description : ' file containing tests to skip'
28
+ type : string
29
+ required : true
30
+
31
+ # makes workflow manually callable
32
+ workflow_dispatch :
33
+ inputs :
34
+ test_label :
35
+ description : " requested runner label (specifies instance)"
36
+ type : string
37
+ required : true
38
+ timeout :
39
+ description : " time limit for run in minutes "
40
+ type : string
41
+ required : true
42
+ gitref :
43
+ description : " git commit hash or branch name"
44
+ type : string
45
+ required : true
46
+ python :
47
+ description : " python version, e.g. 3.10.12"
48
+ type : string
49
+ required : true
50
+ whl :
51
+ description : " whl to test (variable appears late binding so unusable outside 'download artifact')"
52
+ type : string
53
+ required : true
54
+ test_skip_list :
55
+ description : ' file containing tests to skip'
56
+ type : string
57
+ required : true
58
+
59
+ jobs :
60
+
61
+ TEST :
62
+
63
+ runs-on : ${{ inputs.test_label }}
64
+ timeout-minutes : ${{ fromJson(inputs.timeout) }}
65
+
66
+ steps :
67
+
68
+ - name : checkout
69
+ id : checkout
70
+ uses : actions/checkout@v4
71
+ with :
72
+ fetch-depth : 0
73
+ ref : ${{ inputs.gitref }}
74
+ submodules : recursive
You can’t perform that action at this time.
0 commit comments