Skip to content

Commit

Permalink
iOS: add ARM64 simulator build
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Dec 18, 2024
1 parent f0fcc2b commit 361da75
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,32 @@ jobs:
target_environment: device
enable_v8: true

ios_simulator_arm64:
name: iOS simulator ARM64
uses: ./.github/workflows/build.yml
with:
branch: ${{ github.event.inputs.branch }}
version: ${{ github.event.inputs.version }}
is_debug: ${{ github.event.inputs.is_debug == 'true' }}
target_os: ios
target_cpu: arm64
target_environment: simulator
enable_v8: false

ios_simulator_arm64_v8:
name: iOS simulator ARM64 V8
if: github.event.inputs.enable_v8 == 'true'
needs: ios_simulator_arm64
uses: ./.github/workflows/build.yml
with:
branch: ${{ github.event.inputs.branch }}
version: ${{ github.event.inputs.version }}
is_debug: ${{ github.event.inputs.is_debug == 'true' }}
target_os: ios
target_cpu: arm64
target_environment: simulator
enable_v8: true

ios_simulator_x64:
name: iOS simulator x64
uses: ./.github/workflows/build.yml
Expand Down Expand Up @@ -525,6 +551,8 @@ jobs:
- android_x86_v8
- ios_device_arm64
- ios_device_arm64_v8
- ios_simulator_arm64
- ios_simulator_arm64_v8
- ios_simulator_x64
- ios_simulator_x64_v8
- linux_arm
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,18 @@ Here are the download links for latest release:
</tr>

<tr>
<td rowspan="2">iOS</td>
<td>iOS device</td>
<td>arm64</td>
<td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-ios-device-arm64.tgz">pdfium-ios-device-arm64.tgz</a></td>
<td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-ios-device-arm64.tgz">pdfium-v8-ios-device-arm64.tgz</a></td>
</tr>

<tr>
<td rowspan="2">iOS simulator</td>
<td>arm64</td>
<td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-ios-simulator-arm64.tgz">pdfium-ios-simulator-arm64.tgz</a></td>
<td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-v8-ios-simulator-arm64.tgz">pdfium-v8-ios-simulator-arm64.tgz</a></td>
</tr>
<tr>
<td>x64</td>
<td><a href="https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-ios-simulator-x64.tgz">pdfium-ios-simulator-x64.tgz</a></td>
Expand Down
1 change: 1 addition & 0 deletions nuget/bblanchon.PDFium.iOS.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<!-- see list of available runtime identifiers -->
<!-- https://docs.microsoft.com/en-us/dotnet/core/rid-catalog -->
<file src="pdfium-ios-device-arm64/lib/libpdfium.dylib" target="runtimes/ios-device-arm64/native/libpdfium.dylib" />
<file src="pdfium-ios-simulator-arm64/lib/libpdfium.dylib" target="runtimes/ios-simulator-arm64/native/libpdfium.dylib" />
<file src="pdfium-ios-simulator-x64/lib/libpdfium.dylib" target="runtimes/ios-simulator-x64/native/libpdfium.dylib" />
</files>
</package>
1 change: 1 addition & 0 deletions nuget/bblanchon.PDFiumV8.iOS.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<!-- see list of available runtime identifiers -->
<!-- https://docs.microsoft.com/en-us/dotnet/core/rid-catalog -->
<file src="pdfium-v8-ios-device-arm64/lib/libpdfium.dylib" target="runtimes/ios-device-arm64/native/libpdfium.dylib" />
<file src="pdfium-v8-ios-simulator-arm64/lib/libpdfium.dylib" target="runtimes/ios-simulator-arm64/native/libpdfium.dylib" />
<file src="pdfium-v8-ios-simulator-x64/lib/libpdfium.dylib" target="runtimes/ios-simulator-x64/native/libpdfium.dylib" />
</files>
</package>

0 comments on commit 361da75

Please sign in to comment.