Skip to content

Commit ab5fe68

Browse files
committed
Try to fix releases for arm64 and macOS
1 parent 8c6c776 commit ab5fe68

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
env:
3838
MAVEN_USER: ${{ secrets.MAVEN_USER }}
3939
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
40-
build-windows:
40+
build-platform:
4141
environment: UnityTranslate Build
4242
runs-on: ${{ matrix.os }}
4343
strategy:

native/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ data class RustPlatform(
3535
}
3636

3737
val RUST_TARGETS = listOf(
38-
//RustPlatform("aarch64-apple-darwin", "osx", "aarch64", listOf()), // macOS arm64
39-
//RustPlatform("aarch64-unknown-linux-gnu", "linux", "aarch64", listOf("libUnityTranslateLib.so")), // Linux aarch64
38+
RustPlatform("x86_64-apple-darwin", "osx", "x86_64", listOf("libUnityTranslateLib.dylib")), // macOS x86_64
39+
RustPlatform("aarch64-apple-darwin", "osx", "aarch64", listOf("libUnityTranslateLib.dylib")), // macOS arm64
40+
RustPlatform("aarch64-unknown-linux-gnu", "linux", "aarch64", listOf("libUnityTranslateLib.so")), // Linux aarch64
4041
RustPlatform("x86_64-pc-windows-msvc", "windows", "amd64", listOf("UnityTranslateLib.dll")), // Windows x86-64
4142
RustPlatform("x86_64-unknown-linux-gnu", "linux", "amd64", listOf("libUnityTranslateLib.so")), // Linux x86-64
4243
)

0 commit comments

Comments
 (0)