GHActions: Update release pipeline for MultiISA

This commit is contained in:
TellowKrinkle 2022-12-03 16:08:05 -06:00 committed by TellowKrinkle
parent 64fbaff82b
commit 2cd5ce6aea
5 changed files with 19 additions and 42 deletions

View File

@ -9,25 +9,12 @@ on:
- master - master
jobs: jobs:
build_linux_qt_sse4: build_linux_qt:
name: "AppImage" name: "AppImage"
uses: ./.github/workflows/linux_build_qt.yml uses: ./.github/workflows/linux_build_qt.yml
with: with:
jobName: "Qt SSE4" jobName: "Qt"
compiler: clang compiler: clang
cmakeflags: "" cmakeflags: ""
simd: "SSE4"
buildAppImage: true
secrets: inherit
build_linux_qt_avx2:
name: "AppImage"
uses: ./.github/workflows/linux_build_qt.yml
with:
jobName: "Qt AVX2"
detail: ""
compiler: clang
cmakeflags: "-DARCH_FLAG=-march=haswell"
simd: "AVX2"
buildAppImage: true buildAppImage: true
secrets: inherit secrets: inherit

View File

@ -28,10 +28,6 @@ on:
required: false required: false
type: string type: string
default: "" default: ""
simd:
required: false
type: string
default: ""
cheats_url: cheats_url:
required: false required: false
type: string type: string
@ -63,7 +59,6 @@ jobs:
OS: linux OS: linux
GUI_FRAMEWORK: QT GUI_FRAMEWORK: QT
ARCH: ${{ inputs.platform }} ARCH: ${{ inputs.platform }}
SIMD: ${{ inputs.simd }}
EVENT_NAME: ${{ github.event_name }} EVENT_NAME: ${{ github.event_name }}
PR_TITLE: ${{ github.event.pull_request.title }} PR_TITLE: ${{ github.event.pull_request.title }}
PR_NUM: ${{ github.event.pull_request.number }} PR_NUM: ${{ github.event.pull_request.number }}
@ -79,8 +74,8 @@ jobs:
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: .ccache path: .ccache
key: ${{ inputs.os }} ${{ inputs.platform }} ${{ inputs.compiler }} ${{ inputs.simd }} ${{ inputs.detail }} ccache ${{ steps.ccache_cache_timestamp.outputs.timestamp }} key: ${{ inputs.os }} ${{ inputs.platform }} ${{ inputs.compiler }} ${{ inputs.detail }} ccache ${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: ${{ inputs.os }} ${{ inputs.platform }} ${{ inputs.compiler }} ${{ inputs.simd }} ${{ inputs.detail }} ccache restore-keys: ${{ inputs.os }} ${{ inputs.platform }} ${{ inputs.compiler }} ${{ inputs.detail }} ccache
- name: Install Packages - name: Install Packages
env: env:

View File

@ -49,7 +49,6 @@ jobs:
OS: macos OS: macos
GUI_FRAMEWORK: ${{ inputs.gui }} GUI_FRAMEWORK: ${{ inputs.gui }}
ARCH: ${{ inputs.platform }} ARCH: ${{ inputs.platform }}
SIMD: ''
EVENT_NAME: ${{ github.event_name }} EVENT_NAME: ${{ github.event_name }}
PR_TITLE: ${{ github.event.pull_request.title }} PR_TITLE: ${{ github.event.pull_request.title }}
PR_NUM: ${{ github.event.pull_request.number }} PR_NUM: ${{ github.event.pull_request.number }}

View File

@ -8,32 +8,28 @@ on:
jobs: jobs:
# Build Everything # Build Everything
# Linux # Linux
build_linux_qt_sse4: build_linux_qt:
if: github.repository == 'PCSX2/pcsx2' if: github.repository == 'PCSX2/pcsx2'
name: "Linux - AppImage SSE4" name: "Linux"
uses: ./.github/workflows/linux_build_qt.yml uses: ./.github/workflows/linux_build_qt.yml
with: with:
jobName: "Qt" jobName: "Qt"
compiler: clang compiler: clang
cmakeflags: "" cmakeflags: ""
simd: "SSE4"
buildAppImage: true
secrets: inherit
build_linux_qt_avx2:
if: github.repository == 'PCSX2/pcsx2'
name: "Linux - AppImage AVX2"
uses: ./.github/workflows/linux_build_qt.yml
with:
jobName: "Qt"
detail: ""
compiler: clang
cmakeflags: "-DARCH_FLAG=-march=haswell"
simd: "AVX2"
buildAppImage: true buildAppImage: true
secrets: inherit secrets: inherit
# Windows # Windows
build_windows_qt:
if: github.repository == 'PCSX2/pcsx2'
name: "Windows"
uses: ./.github/workflows/windows_build_qt.yml
with:
jobName: Qt
configuration: CMake
buildSystem: cmake
secrets: inherit
build_qt_sse4: build_qt_sse4:
if: github.repository == 'PCSX2/pcsx2' if: github.repository == 'PCSX2/pcsx2'
name: "Windows - SSE4" name: "Windows - SSE4"
@ -67,8 +63,8 @@ jobs:
upload_artifacts: upload_artifacts:
if: github.repository == 'PCSX2/pcsx2' if: github.repository == 'PCSX2/pcsx2'
needs: needs:
- build_linux_qt_sse4 - build_linux_qt
- build_linux_qt_avx2 - build_windows_qt
- build_qt_sse4 - build_qt_sse4
- build_qt_avx2 - build_qt_avx2
- build_macos_qt - build_macos_qt

View File

@ -21,7 +21,7 @@ NAME=""
if [ "${OS}" == "macos" ]; then if [ "${OS}" == "macos" ]; then
NAME="PCSX2-${OS}-${GUI_FRAMEWORK}" NAME="PCSX2-${OS}-${GUI_FRAMEWORK}"
elif [[ ("${OS}" == "windows" && "$BUILD_SYSTEM" != "cmake") || ("$OS" == "linux" && "$GUI_FRAMEWORK" == "QT") ]]; then elif [[ ("${OS}" == "windows" && "$BUILD_SYSTEM" != "cmake") ]]; then
NAME="PCSX2-${OS}-${GUI_FRAMEWORK}-${ARCH}-${SIMD}" NAME="PCSX2-${OS}-${GUI_FRAMEWORK}-${ARCH}-${SIMD}"
else else
NAME="PCSX2-${OS}-${GUI_FRAMEWORK}-${ARCH}" NAME="PCSX2-${OS}-${GUI_FRAMEWORK}-${ARCH}"