From 6c3ccda692a7ff73e29f9989ac0d89314b0fe30b Mon Sep 17 00:00:00 2001 From: William Cheng Date: Sat, 17 Jan 2026 23:48:20 +0800 Subject: [PATCH 1/3] test r in circleci --- CI/circle_parallel.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CI/circle_parallel.sh b/CI/circle_parallel.sh index 19ba36cee69f..fb6fceaa2acb 100755 --- a/CI/circle_parallel.sh +++ b/CI/circle_parallel.sh @@ -43,6 +43,12 @@ elif [ "$NODE_INDEX" = "3" ]; then else echo "Running node $NODE_INDEX ..." java -version - ./mvnw clean install + #./mvnw clean install + + sudo apt install r-base r-base-dev -y + sudo apt-get install r-base-core libssl-dev libcurl4-openssl-dev -y # for httr + + (cd samples/client/petstore/R && mvn integration-test) + #(cd samples/client/petstore/R-httr2 && mvn integration-test) fi From 65a90b504cf446c6ec07af4d693d7378d3b0934e Mon Sep 17 00:00:00 2001 From: William Cheng Date: Sun, 18 Jan 2026 00:01:14 +0800 Subject: [PATCH 2/3] install r 4.x --- CI/circle_parallel.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/CI/circle_parallel.sh b/CI/circle_parallel.sh index fb6fceaa2acb..04861c634e27 100755 --- a/CI/circle_parallel.sh +++ b/CI/circle_parallel.sh @@ -45,9 +45,19 @@ else java -version #./mvnw clean install - sudo apt install r-base r-base-dev -y + sudo apt-get update + sudo apt-get install -y apt-transport-https software-properties-common + # Add CRAN repository for R 4.x + sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 + sudo add-apt-repository 'deb https://cloud.r-project.org jammy-cran40/' + sudo apt-get update + sudo apt-get install -y r-base + + #sudo apt install r-base r-base-dev -y sudo apt-get install r-base-core libssl-dev libcurl4-openssl-dev -y # for httr + R version + (cd samples/client/petstore/R && mvn integration-test) #(cd samples/client/petstore/R-httr2 && mvn integration-test) From d0a90ba2e06d4ca8f1c9866b87b9e6364abe6b12 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Sun, 18 Jan 2026 00:07:08 +0800 Subject: [PATCH 3/3] fix key --- CI/circle_parallel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CI/circle_parallel.sh b/CI/circle_parallel.sh index 04861c634e27..699aacc7c267 100755 --- a/CI/circle_parallel.sh +++ b/CI/circle_parallel.sh @@ -48,7 +48,7 @@ else sudo apt-get update sudo apt-get install -y apt-transport-https software-properties-common # Add CRAN repository for R 4.x - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 + #sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 sudo add-apt-repository 'deb https://cloud.r-project.org jammy-cran40/' sudo apt-get update sudo apt-get install -y r-base