Skip to content

Commit 5e9814c

Browse files
Compile hello-world-release binary to test release mode
1 parent b3b34f4 commit 5e9814c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/actions/build-and-test-sdk/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ runs:
2828
run: |
2929
./test-sdk.sh ${{ inputs.swift-version }} ${{ inputs.distribution }} ${{ inputs.target-arch }} --static-swift-stdlib
3030
cp test-project/.build/debug/hello-world artifacts/hello-world-static
31+
- name: Test SDK with test-project (release)
32+
shell: bash
33+
run: |
34+
BUILD_PROFILE=release ./test-sdk.sh ${{ inputs.swift-version }} ${{ inputs.distribution }} ${{ inputs.target-arch }}
35+
cp test-project/.build/release/hello-world artifacts/hello-world-release
3136
- uses: actions/upload-artifact@v4
3237
name: Publish SDK
3338
with:

0 commit comments

Comments
 (0)