Skip to content

Commit

Permalink
Fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanaobrien committed Jul 27, 2024
2 parents b417538 + 832e64b commit ce39ae1
Show file tree
Hide file tree
Showing 849 changed files with 41,362 additions and 29,669 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ charset = utf-8-bom
[Windows/{aboutbox.rc,version.rc}]
charset = utf-8

[ext/at3_standalone/**.{cpp,h}]
indent_style = space
indent_size = 4

[libretro/**.{cpp,h}]
indent_style = space
indent_size = 3
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ body:
attributes:
label: Checklist
options:
- label: "Test in the [latest git build](https://buildbot.orphis.net/ppsspp/) in case it's already fixed."
- label: "Test in the [latest git build](https://www.ppsspp.org/devbuilds) in case it's already fixed."
required: true
- label: "[Search for other reports](https://github.com/hrydgard/ppsspp/search?q=my+issue&type=issues) of the same issue."
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ body:
attributes:
label: Checklist
options:
- label: "Test in the [latest git build](https://buildbot.orphis.net/ppsspp/) in case it's already fixed."
- label: "Test in the [latest git build](https://www.ppsspp.org/devbuilds) in case it's already fixed."
required: true
- label: "Make sure to run `git submodule update --init --recursive` before building."
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ body:
attributes:
label: Checklist
options:
- label: "Check the [latest git build](https://buildbot.orphis.net/ppsspp/) in case it's already implemented."
- label: "Check the [latest git build](https://www.ppsspp.org/devbuilds) in case it's already implemented."
required: true
- label: "[Search for other requests](https://github.com/hrydgard/ppsspp/search?q=my+issue&type=issues) of the same feature."
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/graphics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ body:
attributes:
label: Checklist
options:
- label: "Test in the [latest git build](https://buildbot.orphis.net/ppsspp/) in case it's already fixed."
- label: "Test in the [latest git build](https://www.ppsspp.org/devbuilds) in case it's already fixed."
required: true
- label: "[Search for other reports](https://github.com/hrydgard/ppsspp/search?q=my+issue&type=issues) of the same issue."
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ body:
attributes:
label: Checklist
options:
- label: "Test in the [latest git build](https://buildbot.orphis.net/ppsspp/) in case it's already fixed."
- label: "Test in the [latest git build](https://www.ppsspp.org/devbuilds) in case it's already fixed."
required: true
- label: "[Search for other reports](https://github.com/hrydgard/ppsspp/search?q=my+issue&type=issues) of the same issue."
required: true
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:

runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2

- name: Build Windows
working-directory: ${{ env.GITHUB_WORKSPACE }}
Expand All @@ -63,20 +63,20 @@ jobs:
run: cp Windows/Release/*.exe ppsspp/

- name: Upload build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Windows ${{ matrix.platform }} build
path: ppsspp/

build-uwp:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2

- name: Build UWP
working-directory: ${{ env.GITHUB_WORKSPACE }}
Expand All @@ -87,7 +87,7 @@ jobs:
needs: build-windows
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: false

Expand All @@ -97,7 +97,7 @@ jobs:
run: git submodule update --init pspautotests assets/lang

- name: Download build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Windows x64 build
path: ppsspp/
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -203,7 +203,7 @@ jobs:
git fetch --deepen=15000 --no-recurse-submodules --tags || exit 0
- name: Install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
if: matrix.extra == 'qt'
with:
cache: true
Expand Down Expand Up @@ -285,7 +285,7 @@ jobs:
fi
- name: Upload build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.extra == 'test'
with:
name: ${{ matrix.os }} build
Expand All @@ -298,7 +298,7 @@ jobs:
mv PPSSPPSDL.zip PPSSPPSDL-macOS-${GITHUB_REF##*/}.zip || exit 1
- name: Upload macOS release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/') && runner.os == 'macOS' && matrix.extra == 'test'
with:
files: ppsspp/*.zip
Expand All @@ -319,7 +319,7 @@ jobs:
needs: build
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: false

Expand All @@ -341,7 +341,7 @@ jobs:
git submodule update --init SDL/macOS
- name: Download build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.os }} build
path: ppsspp/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generateDockerLayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Extract DOCKER_TAG using tag name
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -25,13 +25,13 @@ jobs:
echo "DOCKER_TAG=latest" >> $GITHUB_ENV
- name: Login to Github registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io

- uses: docker/build-push-action@v3
- uses: docker/build-push-action@v6
with:
push: true
tags: ghcr.io/${{ github.repository }}:${{ env.DOCKER_TAG }}
45 changes: 32 additions & 13 deletions .github/workflows/manual_generate_apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:

buildVariant:
type: choice
description: 'Build Variant'
description: 'Build Variant'
required: true
default: 'NormalOptimized'
options:
- NormalOptimized
- NormalDebug
- VROptimized
- VRDebug

jobs:

Expand All @@ -19,27 +21,46 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive

- name: Check Valid Version Tags
id: valid-tags
shell: bash
run: |
echo "count=$(git tag -l 'v[0-9]*' | wc -l | tr -d ' ')" >> $GITHUB_OUTPUT
- name: Fetch upstream tags # required for git describe to return a valid version and to preevnt androidGitVersion from crashing on a new fork
if: ${{ steps.valid-tags.outputs.count == '0' }}
run: |
# TODO: should try to fetch tags from whereever this repo was forked from before fetching from official repo
git remote add upstream https://github.com/hrydgard/ppsspp.git # fetching from official repo as a fallback
git fetch --deepen=15000 --no-recurse-submodules --tags upstream || exit 0
- name: Setup JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: '17'
cache: 'gradle'

#- name: Setup SDK
# uses: android-actions/setup-android@v2
#- name: Setup SDK # gradlew will install SDK automatically, thus this step not needed
# uses: android-actions/setup-android@v3

#- name: Setup NDK
#- name: Setup NDK # gradle will install NDK (side by side) automatically, thus explictly seting up NDK here will cause not enough storage issue when building debug variant
# uses: nttld/setup-ndk@v1
# with:
# ndk-version: r21e

- name: Test androidGitVersion
run: |
echo "count=${{steps.valid-tags.outputs.count}}"
gradle --quiet androidGitVersion
- name: Assemble APK
run: bash ./gradlew assemble${{ github.event.inputs.buildVariant }} --stacktrace
run: ./gradlew assemble${{ github.event.inputs.buildVariant }} --stacktrace

#- name: Gradle Test
# run: bash ./gradlew test${{ github.event.inputs.buildVariant }}UnitTest --stacktrace
Expand All @@ -48,14 +69,12 @@ jobs:
run: |
find . -name "*.apk"
mkdir ppsspp
if [ -e android/build/*/apk/*/*/android-normal-optimized.apk ]; then
cp android/build/*/apk/*/*/android-normal-optimized.apk ppsspp/
elif [ -e android/build/*/apk/*/*/android-normal-debug.apk ]; then
cp android/build/*/apk/*/*/android-normal-debug.apk ppsspp/
if [ -e android/build/*/apk/*/*/*.apk ]; then
cp android/build/*/apk/*/*/*.apk ppsspp/
fi
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: android-${{ github.event.inputs.buildVariant }} build
path: ppsspp/
28 changes: 21 additions & 7 deletions .github/workflows/manual_generate_ipa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

buildVariant:
type: choice
description: 'Build Variant'
description: 'Build Variant'
required: true
default: 'release'
options:
Expand All @@ -19,15 +19,23 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive

#- name: Fetch tags for macOS
# # This is required for git describe --always to work for git-version.cpp.
# run: |
# git fetch --deepen=15000 --no-recurse-submodules --tags || exit 0
- name: Check Valid Version Tags
id: valid-tags
shell: bash
run: |
echo "count=$(git tag -l 'v[0-9]*' | wc -l | tr -d ' ')" >> $GITHUB_OUTPUT
- name: Fetch upstream tags # required for git describe to return a valid version on a new fork
if: ${{ steps.valid-tags.outputs.count == '0' }}
run: |
# TODO: should try to fetch tags from whereever this repo was forked from before fetching from official repo
git remote add upstream https://github.com/hrydgard/ppsspp.git # fetching from official repo as a fallback
git fetch --deepen=15000 --no-recurse-submodules --tags upstream || exit 0
- name: Set Env Var(s)
run: |
Expand All @@ -43,6 +51,7 @@ jobs:
echo $(echo $GIT_VERSION | cut -c 2-) > build-ios/PPSSPP.app/Version.txt
# Testing values ...
echo "Content of [GITHUB_REF##*/] = ${GITHUB_REF##*/}"
echo "count=${{steps.valid-tags.outputs.count}}"
echo $(echo $GIT_VERSION | cut -c 2-)
# Testing file location ...
find . -name "Version.txt"
Expand All @@ -57,8 +66,13 @@ jobs:
env:
CC: clang
CXX: clang++
USE_CCACHE: 1
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
export CCACHE_SLOPPINESS=pch_defines,clang_index_store,ivfsoverlay,include_file_ctime,include_file_mtime,modules,system_headers,time_macros
export CCACHE_FILECLONE=true
export CCACHE_DEPEND=true
export CCACHE_COMPILERCHECK=content
./b.sh --ios --${{ github.event.inputs.buildVariant }}
- name: Package build
Expand All @@ -78,7 +92,7 @@ jobs:
fi
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: iOS-${{ github.event.inputs.buildVariant }} build
path: ppsspp/
Loading

0 comments on commit ce39ae1

Please sign in to comment.