Skip to content

Commit 7f47bcd

Browse files
committed
give up on JavaSieve checking in CI
1 parent b3cfc74 commit 7f47bcd

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

Samples/JavaDependencySampleApp/ci-validate.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/sh
22

3+
set -e
4+
set -x
5+
36
JAVASWIFT="../../.build/debug/Java2Swift"
47

58
MODULE_NAME="JavaCommonsCSV"

Samples/JavaKitSampleApp/ci-validate.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/sh
22

3+
set -e
4+
set -x
5+
36
swift build
47
"$JAVA_HOME/bin/java" \
58
-cp .build/plugins/outputs/javakitsampleapp/JavaKitExample/destination/JavaCompilerPlugin/Java \
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
#!/bin/sh
22

3+
set -e
4+
set -x
5+
36
swift run JavaProbablyPrime 1337

Samples/JavaSieve/ci-validate.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
#!/bin/bash
22

3-
echo "Prepare the dependency..."
4-
git clone https://github.com/gazman-sdk/quadratic-sieve-Java
5-
cd quadratic-sieve-Java || exit
6-
# we use the root gradlew since this project uses ancient gradle that won't support our recent JDK in CI
7-
sh ../../gradlew jar
8-
cd .. || exit
9-
10-
echo "Run the sample..."
11-
swift run JavaSieve
3+
echo "This sample is not verified in CI because old Gradle in the project making it hard to use its ./gradlew"

0 commit comments

Comments
 (0)