File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-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+ 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"
15+ echo "export PATH=$toolchain_path/usr/bin:$PATH" >> $GITHUB_ENV
16+ - uses : bytecodealliance/actions/wasmtime/setup@v1
17+ - name : Build
18+ run : swift build -c release --triple wasm32-unknown-none-wasm -debug-info-format=none
19+ - name : Test
20+ run : wasmtime run .build/release/Examples.wasm
21+ - name : Update dlmalloc source
22+ run : ./Vendor/checkout-dependency && ./Utilities/update-sources.py
23+ - name : Check no uncommitted changes
24+ run : git diff --exit-code
You can’t perform that action at this time.
0 commit comments