Skip to content

Commit 72ce01b

Browse files
committed
try build stability workaround
1 parent c1cf101 commit 72ce01b

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Samples/SwiftJavaExtractFFMSampleApp/ci-validate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
set -x
44
set -e
55

6+
swift build # as a workaround for building swift build from within gradle having issues on CI sometimes
7+
68
./gradlew run
79
./gradlew test

Samples/SwiftJavaExtractJNISampleApp/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ def jextract = tasks.register("jextract", Exec) {
102102

103103
workingDir = layout.projectDirectory
104104
commandLine "swift"
105-
args("build") // since Swift targets which need to be jextract-ed have the jextract build plugin, we just need to build
105+
// TODO: -v for debugging build issues...
106+
args("build", "-v") // since Swift targets which need to be jextract-ed have the jextract build plugin, we just need to build
106107
// If we wanted to execute a specific subcommand, we can like this:
107108
// args("run",/*
108109
// "swift-java", "jextract",

Samples/SwiftJavaExtractJNISampleApp/ci-validate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
set -x
44
set -e
55

6+
swift build # as a workaround for building swift build from within gradle having issues on CI sometimes
7+
68
./gradlew run
79
./gradlew test

0 commit comments

Comments
 (0)