new: add auto build for ios
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -82,11 +82,11 @@ jobs:
|
||||
aarch: universal
|
||||
targets: dmg,pkg
|
||||
|
||||
# - platform: ios
|
||||
# os: macos-13
|
||||
# aarch: universal
|
||||
# filename: hiddify-ios
|
||||
# targets: ipa
|
||||
- platform: ios
|
||||
os: macos-13
|
||||
aarch: universal
|
||||
filename: hiddify-ios
|
||||
targets: ipa
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: checkout
|
||||
@@ -95,14 +95,14 @@ jobs:
|
||||
if: ${{ inputs.upload-artifact && startsWith(matrix.os,'macos') }}
|
||||
uses: apple-actions/import-codesign-certs@v2
|
||||
with:
|
||||
p12-file-base64: "${{ secrets.APPLE_CERTIFICATE_P12 }}"
|
||||
p12-password: "${{ secrets.APPLE_CERTIFICATE_P12_PASSWORD }}"
|
||||
p12-file-base64: "${{ secrets.NEW_APPLE_CERTIFICATE_P12 }}"
|
||||
p12-password: "${{ secrets.NEW_APPLE_CERTIFICATE_P12_PASSWORD }}"
|
||||
|
||||
- name: Import Apple Mobile Provisioning Profile
|
||||
if: ${{ inputs.upload-artifact && startsWith(matrix.os,'macos') }}
|
||||
run: |
|
||||
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
|
||||
echo "${{secrets.APPLE_MOBILE_PROVISIONING_PROFILES_TARGZ_BASE64}}"|base64 --decode | tar xz -C ~/Library/MobileDevice/Provisioning\ Profiles
|
||||
echo "${{secrets.NEW_APPLE_MOBILE_PROVISIONING_PROFILES_TARGZ_BASE64}}"|base64 --decode | tar xz -C ~/Library/MobileDevice/Provisioning\ Profiles
|
||||
# # echo "${{secrets.APPLE_DEVLOP_PROVISIONING_PROFILES_TARGZ_BASE64}}"|base64 --decode | tar xz -C ~/Library/MobileDevice/Provisioning\ Profiles
|
||||
|
||||
|
||||
|
||||
3
Makefile
3
Makefile
@@ -61,6 +61,9 @@ prepare:
|
||||
windows-prepare: get gen translate windows-libs
|
||||
|
||||
ios-prepare: get-geo-assets get gen translate ios-libs
|
||||
cd ios
|
||||
pod repo update
|
||||
pod install
|
||||
macos-prepare: get-geo-assets get gen translate macos-libs
|
||||
linux-prepare: get-geo-assets get gen translate linux-libs
|
||||
linux-appimage-prepare:linux-prepare
|
||||
|
||||
Reference in New Issue
Block a user