File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 1414 test :
1515 uses : graphqlswift/ci/.github/workflows/test.yaml@main
1616 with :
17- include_android : false
17+ include_android : false
Original file line number Diff line number Diff line change 1+ name : wasm
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ # NOTE: swift tests won't compile due to usage
12+ # of NIOPosix. But we can at least test that wasm compilation
13+ # works, to prevent future breakages.
14+ wasm :
15+ name : Test wasm compilation
16+ runs-on : ubuntu-latest
17+ container : swift:6.1.0
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+ - uses : swiftwasm/setup-swiftwasm@v2
22+ with :
23+ target : " wasm32-unknown-wasip1-threads"
24+ - run : swift build --swift-sdk wasm32-unknown-wasip1-threads
You can’t perform that action at this time.
0 commit comments