-
-
Notifications
You must be signed in to change notification settings - Fork 693
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,570 changed files
with
611,976 additions
and
196,753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Add artifact links to pull request and related issues | ||
on: | ||
workflow_run: | ||
workflows: [Build and Upload Provenance] | ||
types: [completed] | ||
|
||
jobs: | ||
artifacts-url-comments: | ||
name: add artifact links to pull request and related issues job | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
steps: | ||
- name: add artifact links to pull request and related issues step | ||
uses: tonyhallett/artifacts-url-comments@v1.1.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
prefix: Builds for this Pull Request are available at | ||
suffix: Have a nice day. | ||
format: name | ||
addTo: pull | ||
# addTo: pullandissues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
name: Build and Upload Provenance | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
env: | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
|
||
jobs: | ||
build: | ||
name: Build and upload Provenance | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- os: 'macos-12' | ||
version: '14.1' | ||
|
||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
# - name: Install Xcode | ||
# uses: maxim-lobanov/setup-xcode@v1 | ||
# with: | ||
# xcode-version: ${{ matrix.version }} | ||
|
||
- name: Setup Xcode | ||
uses: maxim-lobanov/setup-xcode@v1.5.1 | ||
with: | ||
xcode-version: ${{ matrix.version }} | ||
# xcode-select-path: /Applications/Xcode_${{ matrix.version }}.app/Contents/Developer | ||
|
||
- name: Install dependencies | ||
run: brew install ldid | ||
|
||
- name: Build Provenance | ||
run: | | ||
xcodebuild -workspace Provenance.xcworkspace -scheme Provenance-Release -sdk iphoneos archive -archivePath ./archive CODE_SIGNING_REQUIRED=NO AD_HOC_CODE_SIGNING_ALLOWED=YES CODE_SIGNING_ALLOWED=NO DEVELOPMENT_TEAM=XYZ0123456 ORG_IDENTIFIER=org.provenance-emu | xcpretty && exit ${PIPESTATUS[0]} | ||
# - name: Build Provenance | ||
# run: | | ||
# rm -rf ~/Library/Developer/Xcode/DerivedData/ | ||
# rm ./Provenance.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved | ||
# rm ./Provenance.xcworkspace/xcshareddata/swiftpm/Package.resolved | ||
# xcodebuild -workspace Provenance.xcworkspace -scheme Provenance-Release -sdk iphoneos archive -archivePath ./archive CODE_SIGNING_REQUIRED=NO AD_HOC_CODE_SIGNING_ALLOWED=YES CODE_SIGNING_ALLOWED=NO DEVELOPMENT_TEAM=XYZ0123456 ORG_IDENTIFIER=org.provenance-emu | xcpretty && exit ${PIPESTATUS[0]} | ||
|
||
- name: Fakesign app | ||
run: | | ||
rm -rf archive.xcarchive/Products/Applications/Provenance.app/Frameworks/*.framework/Frameworks/ | ||
ldid -SProvenance/Provenance.entitlements archive.xcarchive/Products/Applications/Provenance.app/Provenance | ||
- name: Convert to IPA | ||
run: | | ||
mkdir Payload | ||
mkdir Payload/Provenance.app | ||
cp -R archive.xcarchive/Products/Applications/Provenance.app/ Payload/Provenance.app/ | ||
zip -r Provenance.ipa Payload | ||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v3.1.0 | ||
with: | ||
name: Provenance.ipa | ||
path: Provenance.ipa | ||
|
||
# - name: Upload IPA to S3 | ||
# if: ${{ github.branch == 'develop' }} | ||
# uses: ebuckthal/s3-upload-artifact@v7 | ||
# with: | ||
# bucket: 'sh-sysops' | ||
# key: ${AWS_SECRET_ACCESS_KEY} | ||
# path: 'Provenance.ipa' | ||
|
||
# - name: Upload IPA to App Center | ||
# uses: wzieba/AppCenter-Github-Action@v1 | ||
# if: ${{ github.branch == 'develop' }} | ||
# with: | ||
# appName: wzieba/Sample-App | ||
# token: ${{secrets.APP_CENTER_TOKEN}} | ||
# group: Testers | ||
# file: Provenance.ipa | ||
# notifyTesters: true | ||
# debug: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
# This workflow was added by CodeSee. Learn more at https://codesee.io/ | ||
# This is v2.0 of this workflow file | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request_target: | ||
types: [opened, synchronize, reopened] | ||
|
||
name: CodeSee Map | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
test_map_action: | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
name: Run CodeSee Map Analysis | ||
steps: | ||
- name: checkout | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
fetch-depth: 0 | ||
|
||
# codesee-detect-languages has an output with id languages. | ||
- name: Detect Languages | ||
id: detect-languages | ||
uses: Codesee-io/codesee-detect-languages-action@latest | ||
|
||
- name: Configure JDK 16 | ||
uses: actions/setup-java@v3 | ||
if: ${{ fromJSON(steps.detect-languages.outputs.languages).java }} | ||
with: | ||
java-version: '16' | ||
distribution: 'zulu' | ||
|
||
# CodeSee Maps Go support uses a static binary so there's no setup step required. | ||
|
||
- name: Configure Node.js 16 | ||
uses: actions/setup-node@v3 | ||
if: ${{ fromJSON(steps.detect-languages.outputs.languages).javascript }} | ||
with: | ||
node-version: '16' | ||
|
||
- name: Configure Python 3.x | ||
uses: actions/setup-python@v4 | ||
if: ${{ fromJSON(steps.detect-languages.outputs.languages).python }} | ||
with: | ||
python-version: '3.x' | ||
architecture: 'x64' | ||
|
||
- name: Configure Ruby '3.x' | ||
uses: ruby/setup-ruby@v1 | ||
if: ${{ fromJSON(steps.detect-languages.outputs.languages).ruby }} | ||
with: | ||
ruby-version: '3.0' | ||
|
||
# We need the rust toolchain because it uses rustc and cargo to inspect the package | ||
- name: Configure Rust 1.x stable | ||
uses: actions-rs/toolchain@v1 | ||
if: ${{ fromJSON(steps.detect-languages.outputs.languages).rust }} | ||
with: | ||
toolchain: stable | ||
|
||
- name: Generate Map | ||
id: generate-map | ||
uses: Codesee-io/codesee-map-action@latest | ||
with: | ||
step: map | ||
api_token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }} | ||
github_ref: ${{ github.ref }} | ||
languages: ${{ steps.detect-languages.outputs.languages }} | ||
|
||
- name: Upload Map | ||
id: upload-map | ||
uses: Codesee-io/codesee-map-action@latest | ||
with: | ||
step: mapUpload | ||
api_token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }} | ||
github_ref: ${{ github.ref }} | ||
|
||
- name: Insights | ||
id: insights | ||
uses: Codesee-io/codesee-map-action@latest | ||
with: | ||
step: insights | ||
api_token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }} | ||
github_ref: ${{ github.ref }} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,4 @@ report.xml | |
/Cores/PPSSPP/cmake/lib/Debug/libSPIRV.a | ||
Cores/PPSSPP/cmake/lib/ | ||
/CodeSigning.xcconfig | ||
*.xcarchive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
#include "Build.xcconfig" | ||
|
||
IPHONEOS_DEPLOYMENT_TARGET[sdk=macosx*] = 14.2 | ||
IPHONEOS_DEPLOYMENT_TARGET = 13.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
#include "Build.xcconfig" | ||
|
||
TVOS_DEPLOYMENT_TARGET = 13.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.