File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,13 @@ jobs:
12
12
strategy :
13
13
matrix :
14
14
os : ['ubuntu-22.04']
15
+ compiler : [gcc, clang]
15
16
build_type : [debug,debugoptimized]
16
17
build_script : [make, meson]
17
18
uses : ./.github/workflows/psp-reusable.yml
18
19
with :
19
20
os : ${{ matrix.os }}
21
+ compiler : ${{ matrix.compiler }}
20
22
build_type : ${{ matrix.build_type }}
21
23
build_script : ${{ matrix.build_script }}
22
24
secrets : inherit
Original file line number Diff line number Diff line change 5
5
os :
6
6
type : string
7
7
required : true
8
+ compiler :
9
+ type : string
10
+ required : true
8
11
build_type :
9
12
type : string
10
13
required : true
13
16
required : true
14
17
15
18
env :
16
- artifact_name : build-${{ inputs.os }}-${{ inputs.build_script }}-${{ inputs.build_type }}
17
- coverage_artifact_name : coverage-build-${{ inputs.os }}-${{ inputs.build_script }}-${{ inputs.build_type }}
19
+ artifact_name : build-${{ inputs.os }}-${{ inputs.compiler }}-${{ inputs.build_script }}-${{ inputs.build_type }}
20
+ coverage_artifact_name : coverage-build-${{ inputs.os }}-${{ inputs.compiler }}-${{ inputs.build_script }}-${{ inputs.build_type }}
21
+ CC : ${{ inputs.compiler }}
22
+ CXX : ${{ inputs.compiler }}
18
23
19
24
jobs :
20
25
build :
49
54
build-coverage :
50
55
name : Build PSP for Coverage
51
56
runs-on : ${{ inputs.os }}
52
- if : inputs.build_script == 'make' && inputs.build_type == 'debug'
57
+ if : inputs.build_script == 'make' && inputs.build_type == 'debug' && inputs.copmiler == 'gcc'
53
58
steps :
54
59
- name : Clone repository
55
60
uses : actions/checkout@v4
@@ -154,7 +159,7 @@ jobs:
154
159
test_tde_coverage :
155
160
name : Generate Codecov Code Coverage
156
161
runs-on : ${{ inputs.os }}
157
- if : inputs.build_script == 'make' && inputs.build_type == 'debug'
162
+ if : inputs.build_script == 'make' && inputs.build_type == 'debug' && inputs.copmiler == 'gcc'
158
163
needs : build
159
164
160
165
steps :
You can’t perform that action at this time.
0 commit comments