Skip to content

[SPARK-52085] Use release build in GitHub Action CI #136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Loading