forked from moonlight-stream/moonlight-ios
-
Notifications
You must be signed in to change notification settings - Fork 2
30 lines (26 loc) · 1.12 KB
/
build-ipa.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Xcode - Build and Analyze
on:
push:
branches: [ "master", "feature/*" ]
pull_request:
branches: [ "master", "feature/*" ]
jobs:
build:
name: Build IPA
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout submodules
run: "git submodule update --init --recursive"
- name: Build
run: |
xcodebuild -verbose -workspace Moonlight.xcodeproj/project.xcworkspace -scheme Moonlight -sdk iphoneos -configuration AppStoreDistribution archive -archivePath $PWD/build/Moonlight-NE.xcarchive CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED="NO" CODE_SIGN_ENTITLEMENTS="" CODE_SIGNING_ALLOWED="NO"
mkdir -p ./build/IPA && mkdir -p ./build/IPA/Payload
cp -r ./build/Moonlight-NE.xcarchive/Products/Applications/Moonlight.app ./build/IPA/Payload/Moonlight.app
cd ./build/IPA && zip -r ../../build/Moonlight.ipa ./Payload/* && cd ../..
- name: Upload IPA to Artifacts
uses: actions/upload-artifact@v4
with:
name: Moonlight-NE nightly artifact
path: build/Moonlight.ipa