Skip to content

Commit fa330c9

Browse files
committed
Add test CI job for building LibTorchWrapper
1 parent bb5ccc5 commit fa330c9

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,12 @@ jobs:
3939
distribution: 'temurin'
4040
java-version: '17'
4141
- run: ./gradlew build -x iosX64Test
42+
build-libtorch-wrapper:
43+
runs-on: macos-latest
44+
defaults:
45+
run:
46+
working-directory: ios/LibTorchWrapper
47+
steps:
48+
- uses: actions/checkout@v3
49+
- run: pod install
50+
- run: xcodebuild -workspace LibTorchWrapper.xcworkspace -scheme LibTorchWrapper -configuration Debug -sdk iphoneos -destination generic/platform=iOS

ios/LibTorchWrapper/LibTorchWrapper.xcodeproj/project.pbxproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,10 +351,11 @@
351351
buildSettings = {
352352
ARCHS = "$(ARCHS_STANDARD)";
353353
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
354+
CODE_SIGN_IDENTITY = "Apple Development";
354355
CODE_SIGN_STYLE = Automatic;
355356
CURRENT_PROJECT_VERSION = 1;
356357
DEFINES_MODULE = YES;
357-
DEVELOPMENT_TEAM = 9MRSUDMBX8;
358+
DEVELOPMENT_TEAM = "";
358359
DYLIB_COMPATIBILITY_VERSION = 1;
359360
DYLIB_CURRENT_VERSION = 1;
360361
DYLIB_INSTALL_NAME_BASE = "@rpath";
@@ -373,6 +374,7 @@
373374
MARKETING_VERSION = 1.0;
374375
PRODUCT_BUNDLE_IDENTIFIER = de.voize.LibTorchWrapper;
375376
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
377+
PROVISIONING_PROFILE_SPECIFIER = "";
376378
SKIP_INSTALL = YES;
377379
SUPPORTS_MACCATALYST = YES;
378380
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -386,10 +388,11 @@
386388
buildSettings = {
387389
ARCHS = "$(ARCHS_STANDARD)";
388390
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
391+
CODE_SIGN_IDENTITY = "Apple Development";
389392
CODE_SIGN_STYLE = Automatic;
390393
CURRENT_PROJECT_VERSION = 1;
391394
DEFINES_MODULE = YES;
392-
DEVELOPMENT_TEAM = 9MRSUDMBX8;
395+
DEVELOPMENT_TEAM = "";
393396
DYLIB_COMPATIBILITY_VERSION = 1;
394397
DYLIB_CURRENT_VERSION = 1;
395398
DYLIB_INSTALL_NAME_BASE = "@rpath";
@@ -408,6 +411,7 @@
408411
MARKETING_VERSION = 1.0;
409412
PRODUCT_BUNDLE_IDENTIFIER = de.voize.LibTorchWrapper;
410413
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
414+
PROVISIONING_PROFILE_SPECIFIER = "";
411415
SKIP_INSTALL = YES;
412416
SUPPORTS_MACCATALYST = YES;
413417
SWIFT_EMIT_LOC_STRINGS = YES;

0 commit comments

Comments
 (0)