File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
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 }}
18
21
19
22
jobs :
20
23
build :
28
31
submodules : recursive
29
32
ref : ${{ github.ref }}
30
33
34
+ - name : Setup compiler
35
+ run : export CC=${{ inputs.compiler }}
36
+
31
37
- name : Install dependencies
32
38
run : src/ci_scripts/ubuntu-deps.sh
33
39
You can’t perform that action at this time.
0 commit comments