PG-1467 Add clang builds to CI

Add clang compiler to CI matrix
pull/220/head
Artem Gavrilov 5 months ago committed by Zsolt Parragi
parent a242ddd2d6
commit 0da99c695f
  1. 2
      .github/workflows/psp-matrix.yml
  2. 6
      .github/workflows/psp-reusable.yml

@ -12,11 +12,13 @@ jobs:
strategy:
matrix:
os: ['ubuntu-22.04']
compiler: [gcc, clang]
build_type: [debug,debugoptimized]
build_script: [make, meson]
uses: ./.github/workflows/psp-reusable.yml
with:
os: ${{ matrix.os }}
compiler: ${{ matrix.compiler }}
build_type: ${{ matrix.build_type }}
build_script: ${{ matrix.build_script }}
secrets: inherit

@ -5,6 +5,9 @@ on:
os:
type: string
required: true
compiler:
type: string
required: true
build_type:
type: string
required: true
@ -13,7 +16,8 @@ on:
required: true
env:
artifact_name: build-${{ inputs.os }}-${{ inputs.build_script }}-${{ inputs.build_type }}
artifact_name: build-${{ inputs.os }}-${{ inputs.compiler }}-${{ inputs.build_script }}-${{ inputs.build_type }}
CC: ${{ inputs.compiler }}
jobs:
build:

Loading…
Cancel
Save