You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2025/05/12 18:38:03 UTC

(spark-connect-swift) branch main updated: [SPARK-52085] Use `release` build in GitHub Action CI

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-connect-swift.git


The following commit(s) were added to refs/heads/main by this push:
     new 6819b42  [SPARK-52085] Use `release` build in GitHub Action CI
6819b42 is described below

commit 6819b42a6e5671e3fc23a097321b671f8fa24899
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Mon May 12 11:37:56 2025 -0700

    [SPARK-52085] Use `release` build in GitHub Action CI
    
    ### What changes were proposed in this pull request?
    
    This PR aims to use `release` build in GitHub Action CI.
    
    ### Why are the changes needed?
    
    To test with release build officially. Since `debug` is the default setting, local testing is still covering `debug` build configuration.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, this is a testing infra update.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #136 from dongjoon-hyun/SPARK-52085.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 .github/workflows/build_and_test.yml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index 384f796..9e90401 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -47,7 +47,7 @@ jobs:
       with:
         swift-version: "6.1"
     - name: Build
-      run: swift build -v
+      run: swift build -c release
 
   build-ubuntu-latest:
     runs-on: ubuntu-latest
@@ -56,7 +56,7 @@ jobs:
     - name: Build
       run: |
         docker run swift:6.1 uname -a
-        docker run -v $PWD:/spark -w /spark swift:6.1 swift build -v
+        docker run -v $PWD:/spark -w /spark swift:6.1 swift build -c release
 
   # setup-swift doesn't support ARM linux yet.
   build-ubuntu-arm:
@@ -66,7 +66,7 @@ jobs:
     - name: Build
       run: |
         docker run swift:6.1 uname -a
-        docker run -v $PWD:/spark -w /spark swift:6.1 swift build -v
+        docker run -v $PWD:/spark -w /spark swift:6.1 swift build -c release
 
   integration-test-linux:
     runs-on: ubuntu-latest
@@ -85,7 +85,7 @@ jobs:
     - name: Build
       run: |
         docker run swift:6.1 uname -a
-        docker run --add-host=host.docker.internal:host-gateway -v $PWD:/spark -w /spark -e SPARK_REMOTE='sc://host.docker.internal:15003' swift:6.1 swift test --no-parallel
+        docker run --add-host=host.docker.internal:host-gateway -v $PWD:/spark -w /spark -e SPARK_REMOTE='sc://host.docker.internal:15003' swift:6.1 swift test --no-parallel -c release
 
   integration-test-mac:
     runs-on: macos-15
@@ -102,7 +102,7 @@ jobs:
         cd /tmp/spark/sbin
         ./start-connect-server.sh
         cd -
-        swift test --no-parallel
+        swift test --no-parallel -c release
 
   integration-test-token:
     runs-on: macos-15
@@ -121,7 +121,7 @@ jobs:
         cd /tmp/spark/sbin
         ./start-connect-server.sh
         cd -
-        swift test --no-parallel
+        swift test --no-parallel -c release
 
   integration-test-mac-spark3:
     runs-on: macos-15
@@ -143,4 +143,4 @@ jobs:
         cd /tmp/spark/sbin
         ./start-connect-server.sh --packages org.apache.spark:spark-connect_2.12:3.5.5
         cd -
-        swift test --no-parallel
+        swift test --no-parallel -c release


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org