File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [main]
4
+ pull_request :
5
+ branches : [main]
6
+ jobs :
7
+ smoke-test :
8
+ runs-on : ubuntu-22.04
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+ - name : Install Swift toolchain
12
+ run : |
13
+ toolchain_path="/opt/swift"
14
+ mkdir -p "$toolchain_path"
15
+ curl -L "https://download.swift.org/development/ubuntu2204/swift-DEVELOPMENT-SNAPSHOT-2024-09-25-a/swift-DEVELOPMENT-SNAPSHOT-2024-09-25-a-ubuntu22.04.tar.gz" | tar xz --strip-component 1 -C "$toolchain_path"
16
+ echo "$toolchain_path/usr/bin" >> $GITHUB_PATH
17
+ - uses : bytecodealliance/actions/wasmtime/setup@v1
18
+ - name : Build
19
+ run : swift build --package-path Examples -c release --triple wasm32-unknown-none-wasm -debug-info-format=none
20
+ - name : Test
21
+ run : wasmtime run Examples/.build/release/Examples.wasm
22
+ - name : Update dlmalloc source
23
+ run : ./Vendor/checkout-dependency && ./Utilities/update-sources.py
24
+ - name : Check no uncommitted changes
25
+ run : git diff --exit-code
You can’t perform that action at this time.
0 commit comments