Skip to content

Commit 640f4d9

Browse files
leogdionclaude
andcommitted
fix: build static binary with --static-swift-stdlib
- Add --static-swift-stdlib flag to create self-contained binary - Binary now includes Swift standard library statically linked - Eliminates "libswiftCore.so not found" error on Ubuntu runners - Allows sync workflow to run without Swift container Inspired by: brightdigit/CelestraCloud workflow pattern 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 5d7694f commit 640f4d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/bushel-cloud-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ jobs:
4040
- name: Build bushel-cloud executable
4141
id: build
4242
run: |
43-
swift build -c release
44-
BIN_PATH=$(swift build -c release --show-bin-path)
43+
swift build -c release --static-swift-stdlib
44+
BIN_PATH=$(swift build -c release --static-swift-stdlib --show-bin-path)
4545
echo "bin-path=$BIN_PATH" >> $GITHUB_OUTPUT
4646
echo "Binary location: $BIN_PATH/bushel-cloud"
4747
ls -lh "$BIN_PATH/bushel-cloud"

0 commit comments

Comments
 (0)