We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c38382 commit ec9936fCopy full SHA for ec9936f
.github/workflows/main.yml
@@ -0,0 +1,20 @@
1
+on:
2
+ push:
3
+ branches: [main]
4
+ pull_request:
5
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
0 commit comments