diff --git a/.github/workflows/manual_generate_uwp.yml b/.github/workflows/manual_generate_uwp.yml new file mode 100644 index 000000000000..3d961b0b0dcb --- /dev/null +++ b/.github/workflows/manual_generate_uwp.yml @@ -0,0 +1,74 @@ +name: Manual Generate UWP APPX +on: + workflow_dispatch: + inputs: + + buildConfiguration: + type: choice + description: 'Build Configuration' + required: true + default: 'Release' + options: + - Release + - Debug + + buildPlatform: + type: choice + description: 'Build Platform' + required: true + default: 'x64' + options: + - x64 + - ARM64 + - ARM + +jobs: + + build-uwp: + name: Generate ${{ github.event.inputs.buildConfiguration }} UWP + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + submodules: recursive + + - name: Add MSBuild to PATH + uses: microsoft/setup-msbuild@v1.1 + + - name: Setup cache + id: cache-uwp + uses: actions/cache@v3 + with: + key: uwp-${{ github.event.inputs.buildConfiguration }}-${{ github.event.inputs.buildPlatform }} + + - name: Execute build + working-directory: ${{ env.GITHUB_WORKSPACE }} + run: msbuild /m /p:TrackFileAccess=false /p:Configuration=${{ github.event.inputs.buildConfiguration }} /p:Platform=${{ github.event.inputs.buildPlatform }} /p:AppxPackageSigningEnabled=false /p:AppxBundle=Always /p:AppxBundlePlatforms="x64|ARM64" UWP/PPSSPP_UWP.sln + + - name: Package build + working-directory: ${{ env.GITHUB_WORKSPACE }} + run: | + mkdir ppsspp + cp PPSSPP*.exe ppsspp/ + cp *.pdb ppsspp/ + cp AppxManifest.xml ppsspp/ + cp AppxManifest.xml ppsspp/ + cp PPSSPP_UWP.build.appxrecipe ppsspp/ + cp resources.pri ppsspp/ + cp UWP.winmd ppsspp/ + #cp Windows/*.bat ppsspp/ + cp -r assets ppsspp/Content + # Testing values ... + echo "Content of [env.GITHUB_WORKSPACE] = ${env.GITHUB_WORKSPACE}" + # Testing file location ... + find . -name "PPSSPP*.exe" + find . -name "AppPackages" + find . -name "*.msix" + + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: UWP-${{ github.event.inputs.buildConfiguration }}-${{ github.event.inputs.buildPlatform }} build + path: ppsspp/ diff --git a/.github/workflows/test_bug.yml b/.github/workflows/test_bug.yml new file mode 100644 index 000000000000..51ab14cf7d5a --- /dev/null +++ b/.github/workflows/test_bug.yml @@ -0,0 +1,52 @@ +name: Testing Bug +on: + workflow_dispatch: + inputs: + + buildConfiguration: + type: choice + description: 'Build Configuration' + required: true + default: 'Release' + options: + - Release + - Debug + + buildPlatform: + type: choice + description: 'Build Platform' + required: true + default: 'x64' + options: + - x64 + - ARM64 + - ARM + +jobs: + + build-uwp: + name: Generate ${{ github.event.inputs.buildConfiguration }} UWP + runs-on: windows-latest + + steps: + #- uses: actions/checkout@v3 + # with: + # fetch-depth: 0 + # submodules: recursive + + - name: Add MSBuild to PATH + uses: microsoft/setup-msbuild@v1.1 + + - name: Testing values + run: | + # Testing values ... + env + echo "Content of [env.GITHUB_WORKSPACE] = ${env.GITHUB_WORKSPACE}" + echo "Content of [[env.GITHUB_WORKSPACE]] = ${{env.GITHUB_WORKSPACE}}" + echo "Content of [env:GITHUB_WORKSPACE] = ${env:GITHUB_WORKSPACE}" + echo "Content of [github.workspace] = ${github.workspace}" + echo "Content of [[github.workspace]] = ${{github.workspace}}" + echo "one ${ github.event.inputs.buildPlatform }" + echo ${{github.workspace}} + echo "two ${{ github.event.inputs.buildPlatform }}" + echo $env:GITHUB_WORKSPACE