File tree 2 files changed +19
-1
lines changed
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 86
86
- run : swift build
87
87
env :
88
88
DEVELOPER_DIR : /Applications/${{ matrix.xcode }}.app/Contents/Developer/
89
+
90
+ embedded-build :
91
+ name : Build for embedded target
92
+ runs-on : ubuntu-22.04
93
+ strategy :
94
+ matrix :
95
+ entry :
96
+ - os : ubuntu-22.04
97
+ toolchain : DEVELOPMENT-SNAPSHOT-2024-09-25-a
98
+ steps :
99
+ - uses : actions/checkout@v4
100
+ - uses : ./.github/actions/install-swift
101
+ with :
102
+ swift-dir : development/ubuntu2204
103
+ swift-version : swift-${{ matrix.entry.toolchain }}
104
+ - run : ./Examples/Embedded/build.sh
Original file line number Diff line number Diff line change 1
- JAVASCRIPTKIT_EXPERIMENTAL_EMBEDDED_WASM=true swift build -c release --product EmbeddedApp \
1
+ #! /bin/bash
2
+ package_dir=" $( cd " $( dirname " $0 " ) " && pwd) "
3
+ JAVASCRIPTKIT_EXPERIMENTAL_EMBEDDED_WASM=true swift build --package-path " $package_dir " -c release --product EmbeddedApp \
2
4
--triple wasm32-unknown-none-wasm \
3
5
-Xswiftc -enable-experimental-feature -Xswiftc Embedded \
4
6
-Xswiftc -enable-experimental-feature -Xswiftc Extern \
You can’t perform that action at this time.
0 commit comments