You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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 <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Copy file name to clipboardExpand all lines: .github/workflows/build_and_test.yml
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ jobs:
47
47
with:
48
48
swift-version: "6.1"
49
49
- name: Build
50
-
run: swift build -v
50
+
run: swift build -c release
51
51
52
52
build-ubuntu-latest:
53
53
runs-on: ubuntu-latest
@@ -56,7 +56,7 @@ jobs:
56
56
- name: Build
57
57
run: |
58
58
docker run swift:6.1 uname -a
59
-
docker run -v $PWD:/spark -w /spark swift:6.1 swift build -v
59
+
docker run -v $PWD:/spark -w /spark swift:6.1 swift build -c release
60
60
61
61
# setup-swift doesn't support ARM linux yet.
62
62
build-ubuntu-arm:
@@ -66,7 +66,7 @@ jobs:
66
66
- name: Build
67
67
run: |
68
68
docker run swift:6.1 uname -a
69
-
docker run -v $PWD:/spark -w /spark swift:6.1 swift build -v
69
+
docker run -v $PWD:/spark -w /spark swift:6.1 swift build -c release
70
70
71
71
integration-test-linux:
72
72
runs-on: ubuntu-latest
@@ -85,7 +85,7 @@ jobs:
85
85
- name: Build
86
86
run: |
87
87
docker run swift:6.1 uname -a
88
-
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
88
+
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
0 commit comments