CI: Download chtdb at build time
This commit is contained in:
parent
e0b6f6f1b2
commit
469485974c
|
@ -81,6 +81,13 @@ jobs:
|
||||||
cd ..\..
|
cd ..\..
|
||||||
git update-index --assume-unchanged src/duckstation-qt/duckstation-qt.rc
|
git update-index --assume-unchanged src/duckstation-qt/duckstation-qt.rc
|
||||||
|
|
||||||
|
- name: Download Patch Archives
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
cd data/resources
|
||||||
|
aria2c -Z "https://github.com/duckstation/chtdb/releases/download/latest/cheats.zip"
|
||||||
|
aria2c -Z "https://github.com/duckstation/chtdb/releases/download/latest/patches.zip"
|
||||||
|
|
||||||
- name: Compile x64 Release Build
|
- name: Compile x64 Release Build
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
|
@ -172,6 +179,13 @@ jobs:
|
||||||
cd ..\..
|
cd ..\..
|
||||||
git update-index --assume-unchanged src/duckstation-qt/duckstation-qt.rc
|
git update-index --assume-unchanged src/duckstation-qt/duckstation-qt.rc
|
||||||
|
|
||||||
|
- name: Download Patch Archives
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
cd data/resources
|
||||||
|
aria2c -Z "https://github.com/duckstation/chtdb/releases/download/latest/cheats.zip"
|
||||||
|
aria2c -Z "https://github.com/duckstation/chtdb/releases/download/latest/patches.zip"
|
||||||
|
|
||||||
- name: Compile x64 Release Build
|
- name: Compile x64 Release Build
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
|
@ -264,6 +278,13 @@ jobs:
|
||||||
cd ..\..
|
cd ..\..
|
||||||
git update-index --assume-unchanged src/duckstation-qt/duckstation-qt.rc
|
git update-index --assume-unchanged src/duckstation-qt/duckstation-qt.rc
|
||||||
|
|
||||||
|
- name: Download Patch Archives
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
cd data/resources
|
||||||
|
aria2c -Z "https://github.com/duckstation/chtdb/releases/download/latest/cheats.zip"
|
||||||
|
aria2c -Z "https://github.com/duckstation/chtdb/releases/download/latest/patches.zip"
|
||||||
|
|
||||||
- name: Compile ARM64 Release Build
|
- name: Compile ARM64 Release Build
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
|
@ -340,6 +361,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo '#define SCM_RELEASE_TAG "latest"' >> src/scmversion/tag.h
|
echo '#define SCM_RELEASE_TAG "latest"' >> src/scmversion/tag.h
|
||||||
|
|
||||||
|
- name: Download Patch Archives
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cd data/resources
|
||||||
|
curl -LO "https://github.com/duckstation/chtdb/releases/download/latest/cheats.zip"
|
||||||
|
curl -LO "https://github.com/duckstation/chtdb/releases/download/latest/patches.zip"
|
||||||
|
|
||||||
- name: Compile Build
|
- name: Compile Build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
@ -404,6 +432,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo '#define SCM_RELEASE_TAG "latest"' >> src/scmversion/tag.h
|
echo '#define SCM_RELEASE_TAG "latest"' >> src/scmversion/tag.h
|
||||||
|
|
||||||
|
- name: Download Patch Archives
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cd data/resources
|
||||||
|
curl -LO "https://github.com/duckstation/chtdb/releases/download/latest/cheats.zip"
|
||||||
|
curl -LO "https://github.com/duckstation/chtdb/releases/download/latest/patches.zip"
|
||||||
|
|
||||||
- name: Compile Build
|
- name: Compile Build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
@ -458,6 +493,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo '#define SCM_RELEASE_TAG "latest"' >> src/scmversion/tag.h
|
echo '#define SCM_RELEASE_TAG "latest"' >> src/scmversion/tag.h
|
||||||
|
|
||||||
|
- name: Download Patch Archives
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cd data/resources
|
||||||
|
curl -LO "https://github.com/duckstation/chtdb/releases/download/latest/cheats.zip"
|
||||||
|
curl -LO "https://github.com/duckstation/chtdb/releases/download/latest/patches.zip"
|
||||||
|
|
||||||
- name: Generate AppStream XML
|
- name: Generate AppStream XML
|
||||||
run: |
|
run: |
|
||||||
scripts/generate-metainfo.sh scripts/flatpak
|
scripts/generate-metainfo.sh scripts/flatpak
|
||||||
|
@ -552,6 +594,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo '#define SCM_RELEASE_TAG "latest"' >> src/scmversion/tag.h
|
echo '#define SCM_RELEASE_TAG "latest"' >> src/scmversion/tag.h
|
||||||
|
|
||||||
|
- name: Download Patch Archives
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cd data/resources
|
||||||
|
curl -LO "https://github.com/duckstation/chtdb/releases/download/latest/cheats.zip"
|
||||||
|
curl -LO "https://github.com/duckstation/chtdb/releases/download/latest/patches.zip"
|
||||||
|
|
||||||
- name: Compile and Zip .app
|
- name: Compile and Zip .app
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
169563
data/resources/chtdb.txt
169563
data/resources/chtdb.txt
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue