Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rpath change in actions #346

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ios_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,17 @@ jobs:
shell: sh
run: |
ls target/release
mv target/release/libgodot_rapier.dylib bin${{ matrix.dimensions.short }}/addons/godot-rapier${{ matrix.dimensions.short }}/bin/libgodot_rapier.ios.${{ matrix.arch.name }}.framework/libgodot_rapier
# Change rpath
install_name_tool -id @rpath/libgodot_rapier.ios.${{ matrix.arch.name }}.framework/libgodot_rapier.ios.${{ matrix.arch.name }}.dylib target/release/libgodot_rapier.dylib
mv target/release/libgodot_rapier.dylib bin${{ matrix.dimensions.short }}/addons/godot-rapier${{ matrix.dimensions.short }}/bin/libgodot_rapier.ios.${{ matrix.arch.name }}.framework/libgodot_rapier.ios.${{ matrix.arch.name }}.dylib
mv target/release/libgodot_rapier.a bin${{ matrix.dimensions.short }}/addons/godot-rapier${{ matrix.dimensions.short }}/bin/libgodot_rapier.ios.${{ matrix.arch.name }}.framework/libgodot_rapier.a

- name: Upload
uses: actions/upload-artifact@v4
with:
name: godot-rapier-${{ matrix.dimensions.short }}-${{ matrix.precision }}-${{ matrix.features.name }}-${{ matrix.arch.rust}}
path: |
bin${{ matrix.dimensions.short }}/**/libgodot_rapier
bin${{ matrix.dimensions.short }}/**/*.dylib
if-no-files-found: error

- name: Upload Static
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>libgodot_rapier</string>
<string>libgodot_rapier.ios.arm64.dylib</string>
<key>CFBundleName</key>
<string>Godot Rapier2D</string>
<key>CFBundleDisplayName</key>
Expand Down Expand Up @@ -35,7 +35,7 @@
<array>
<dict>
<key>BinaryPath</key>
<string>libgodot_rapier.dylib</string>
<string>libgodot_rapier.ios.arm64.dylib</string>
</dict>
</array>
</dict>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>libgodot_rapier</string>
<string>libgodot_rapier.ios.x86_64.dylib</string>
<key>CFBundleName</key>
<string>Godot Rapier2D</string>
<key>CFBundleDisplayName</key>
Expand Down Expand Up @@ -35,7 +35,7 @@
<array>
<dict>
<key>BinaryPath</key>
<string>libgodot_rapier.dylib</string>
<string>libgodot_rapier.ios.x86_64.dylib</string>
</dict>
</array>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions bin2d/addons/godot-rapier2d/godot-rapier2d.gdextension
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ android.debug.arm64 = "bin/libgodot_rapier.android.aarch64-linux-android.so"
android.release.arm64 = "bin/libgodot_rapier.android.aarch64-linux-android.so"
ios.debug.arm64 = "bin/libgodot_rapier.ios.arm64.framework"
ios.release.arm64 = "bin/libgodot_rapier.ios.arm64.framework"
ios.debug.x86_64 = "bin/libgodot_rapier.ios.framework"
ios.release.x86_64 = "bin/libgodot_rapier.ios.framework"
ios.debug.x86_64 = "bin/libgodot_rapier.ios.x86_64.framework"
ios.release.x86_64 = "bin/libgodot_rapier.ios.x86_64.framework"
web.debug.threads.wasm32 = "bin/godot_rapier.wasm"
web.release.threads.wasm32 = "bin/godot_rapier.wasm"
web.debug.wasm32 = "bin/wasm-nothreads/godot_rapier.wasm"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>libgodot_rapier</string>
<string>libgodot_rapier.ios.arm64.dylib</string>
<key>CFBundleName</key>
<string>Godot Rapier3D</string>
<key>CFBundleDisplayName</key>
Expand Down Expand Up @@ -35,7 +35,7 @@
<array>
<dict>
<key>BinaryPath</key>
<string>libgodot_rapier.dylib</string>
<string>libgodot_rapier.ios.arm64.dylib</string>
</dict>
</array>
</dict>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>libgodot_rapier</string>
<string>libgodot_rapier.ios.x86_64.dylib</string>
<key>CFBundleName</key>
<string>Godot Rapier3D</string>
<key>CFBundleDisplayName</key>
Expand Down Expand Up @@ -35,7 +35,7 @@
<array>
<dict>
<key>BinaryPath</key>
<string>libgodot_rapier.dylib</string>
<string>libgodot_rapier.ios.x86_64.dylib</string>
</dict>
</array>
</dict>
Expand Down