ci: differentiate cmake windows build from the others

This commit is contained in:
Tyler Wilding 2022-05-22 23:33:32 -04:00 committed by refractionpcsx2
parent ef32b49e50
commit 5c790b8540
4 changed files with 20 additions and 0 deletions

View File

@ -8,6 +8,7 @@
# Inputs as env-vars # Inputs as env-vars
# OS # OS
# BUILD_SYSTEM
# GUI_FRAMEWORK # GUI_FRAMEWORK
# ARCH # ARCH
# SIMD # SIMD
@ -26,6 +27,14 @@ else
NAME="PCSX2-${OS}-${GUI_FRAMEWORK}-${ARCH}" NAME="PCSX2-${OS}-${GUI_FRAMEWORK}-${ARCH}"
fi fi
# Add cmake if used to differentate it from msbuild builds
# Else the two artifacts will have the same name and the files will be merged
if [[ ! -z "${BUILD_SYSTEM}" ]]; then
if [ "${BUILD_SYSTEM}" == "cmake" ]; then
NAME="${NAME}-${BUILD_SYSTEM}"
fi
fi
# Add PR / Commit Metadata # Add PR / Commit Metadata
if [ "$EVENT_NAME" == "pull_request" ]; then if [ "$EVENT_NAME" == "pull_request" ]; then
PR_SHA=$(git rev-parse --short "${PR_SHA}") PR_SHA=$(git rev-parse --short "${PR_SHA}")

View File

@ -64,4 +64,5 @@ jobs:
with: with:
jobName: wxWidgets jobName: wxWidgets
configuration: CMake configuration: CMake
buildSystem: cmake
secrets: inherit secrets: inherit

View File

@ -21,6 +21,10 @@ on:
required: false required: false
type: string type: string
default: AVX2 default: AVX2
buildSystem:
required: false
type: string
default: msbuild
qt_binary_url: qt_binary_url:
required: false required: false
type: string type: string
@ -51,6 +55,7 @@ jobs:
shell: bash shell: bash
env: env:
OS: windows OS: windows
BUILD_SYSTEM: ${{ inputs.buildSystem }}
GUI_FRAMEWORK: Qt GUI_FRAMEWORK: Qt
ARCH: ${{ inputs.platform }} ARCH: ${{ inputs.platform }}
SIMD: ${{ inputs.simd }} SIMD: ${{ inputs.simd }}

View File

@ -18,6 +18,10 @@ on:
required: false required: false
type: string type: string
default: AVX2 default: AVX2
buildSystem:
required: false
type: string
default: msbuild
configuration: configuration:
required: true required: true
type: string type: string
@ -47,6 +51,7 @@ jobs:
shell: bash shell: bash
env: env:
OS: windows OS: windows
BUILD_SYSTEM: ${{ inputs.buildSystem }}
GUI_FRAMEWORK: wxWidgets GUI_FRAMEWORK: wxWidgets
ARCH: ${{ inputs.platform }} ARCH: ${{ inputs.platform }}
SIMD: ${{ inputs.simd }} SIMD: ${{ inputs.simd }}