Skip to content

Commit e22f5cc

Browse files
committed
chore: test build with xcodebuild
1 parent 774b6d6 commit e22f5cc

4 files changed

Lines changed: 398 additions & 114 deletions

File tree

.github/workflows/development.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,21 @@ jobs:
8585
export SLIMMED=1
8686
if [ "${{ matrix.platform_name }}" == "ios" ]; then
8787
# Build ipa and tipa for iOS
88-
gmake -j$(sysctl -n hw.ncpu) dsym package PLATFORM=${{ matrix.platform }}
89-
gmake -j$(sysctl -n hw.ncpu) dsym package PLATFORM=${{ matrix.platform }} TROLLSTORE_JIT_ENT=1
90-
elif [ "${{ matrix.platform_name }}" == "tvos" ]; then
91-
# Build tipa only for tvOS
92-
gmake -j$(sysctl -n hw.ncpu) dsym package PLATFORM=${{ matrix.platform }} TROLLSTORE_JIT_ENT=1
88+
xcodebuild archive -archivePath artifacts/${{ matrix.platform_name }} -scheme AngelAuraAmethyst -config Release AD_HOC_CODE_SIGNING_ALLOWED=1 CODE_SIGN_IDENTITY=
9389
else
9490
# Build ipa only for everything else
95-
gmake -j$(sysctl -n hw.ncpu) dsym package PLATFORM=${{ matrix.platform }}
91+
echo "Not supported for now"
92+
exit 1
9693
fi
94+
95+
- name: Package artifacts
96+
run: |
97+
cd artifacts
98+
rm -rf Payload
99+
ln -s ${{ matrix.platform_name }}.xcarchive/Products/Applications Payload
100+
cd ..
101+
gmake package
102+
gmake package TROLLSTORE_JIT_ENT=1
97103
98104
- name: Upload regular ipa
99105
uses: actions/upload-artifact@main
@@ -119,9 +125,9 @@ jobs:
119125
name: org.angelauramc.amethyst.slimmed-${{ matrix.platform_name }}-trollstore.tipa
120126
path: artifacts/org.angelauramc.amethyst.slimmed-*-${{ matrix.platform_name }}-trollstore.tipa
121127

122-
- name: Upload PojavLauncher.dSYM
128+
- name: Upload dSYM
123129
uses: actions/upload-artifact@main
124130
if: matrix.platform_name == 'ios'
125131
with:
126132
name: AngelAuraAmethyst.dSYM
127-
path: artifacts/AngelAuraAmethyst.dSYM
133+
path: artifacts/${{ matrix.platform_name }}.xcarchive/dSYMs/AngelAuraAmethyst.app.dSYM

0 commit comments

Comments
 (0)