mirror of https://github.com/PCSX2/pcsx2.git
CI: Update build to use patches.zip instead of cheats
This commit is contained in:
parent
81da9fb5a4
commit
ed6dd6f6cd
|
@ -28,7 +28,7 @@ on:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
cheats_url:
|
patches_url:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: https://github.com/PCSX2/pcsx2_patches/releases/latest/download
|
default: https://github.com/PCSX2/pcsx2_patches/releases/latest/download
|
||||||
|
@ -93,10 +93,10 @@ jobs:
|
||||||
if: steps.cache-deps.outputs.cache-hit != 'true'
|
if: steps.cache-deps.outputs.cache-hit != 'true'
|
||||||
run: .github/workflows/scripts/linux/build-dependencies-qt.sh
|
run: .github/workflows/scripts/linux/build-dependencies-qt.sh
|
||||||
|
|
||||||
- name: Download cheats
|
- name: Download patches
|
||||||
run: |
|
run: |
|
||||||
cd bin/resources
|
cd bin/resources
|
||||||
aria2c -Z "${{ inputs.cheats_url }}/cheats_ni.zip" "${{ inputs.cheats_url }}/cheats_ws.zip"
|
aria2c -Z "${{ inputs.patches_url }}/patches.zip"
|
||||||
|
|
||||||
- name: Generate CMake
|
- name: Generate CMake
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -17,7 +17,7 @@ on:
|
||||||
gui:
|
gui:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
cheats_url:
|
patches_url:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: https://github.com/PCSX2/pcsx2_patches/releases/latest/download
|
default: https://github.com/PCSX2/pcsx2_patches/releases/latest/download
|
||||||
|
@ -82,10 +82,10 @@ jobs:
|
||||||
GUI: ${{ inputs.gui }}
|
GUI: ${{ inputs.gui }}
|
||||||
run: .github/workflows/scripts/macos/build-dependencies.sh
|
run: .github/workflows/scripts/macos/build-dependencies.sh
|
||||||
|
|
||||||
- name: Download cheats
|
- name: Download patches
|
||||||
run: |
|
run: |
|
||||||
cd bin/resources
|
cd bin/resources
|
||||||
aria2c -Z "${{ inputs.cheats_url }}/cheats_ni.zip" "${{ inputs.cheats_url }}/cheats_ws.zip"
|
aria2c -Z "${{ inputs.patches_url }}/patches.zip"
|
||||||
|
|
||||||
# -- SETUP CCACHE - https://cristianadam.eu/20200113/speeding-up-c-plus-plus-github-actions-using-ccache/
|
# -- SETUP CCACHE - https://cristianadam.eu/20200113/speeding-up-c-plus-plus-github-actions-using-ccache/
|
||||||
- name: Prepare ccache timestamp
|
- name: Prepare ccache timestamp
|
||||||
|
|
|
@ -37,7 +37,7 @@ on:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: 3rdparty\qt\6.5.0\msvc2022_64
|
default: 3rdparty\qt\6.5.0\msvc2022_64
|
||||||
cheats_url:
|
patches_url:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: https://github.com/PCSX2/pcsx2_patches/releases/latest/download
|
default: https://github.com/PCSX2/pcsx2_patches/releases/latest/download
|
||||||
|
@ -84,11 +84,11 @@ jobs:
|
||||||
7z x qt-*-x64.7z
|
7z x qt-*-x64.7z
|
||||||
del qt-*-x64.7z
|
del qt-*-x64.7z
|
||||||
|
|
||||||
- name: Download cheats
|
- name: Download patches
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
cd bin/resources
|
cd bin/resources
|
||||||
aria2c -Z "${{ inputs.cheats_url }}/cheats_ni.zip" "${{ inputs.cheats_url }}/cheats_ws.zip"
|
aria2c -Z "${{ inputs.patches_url }}/patches.zip"
|
||||||
|
|
||||||
- name: Generate CMake
|
- name: Generate CMake
|
||||||
if: inputs.configuration == 'CMake'
|
if: inputs.configuration == 'CMake'
|
||||||
|
|
Loading…
Reference in New Issue