Skip to content

Commit b2fea7f

Browse files
Fix Windows CMake build
1 parent eff2571 commit b2fea7f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ jobs:
122122
tag: 5.10.1-RELEASE
123123
- uses: actions/checkout@v4
124124
- run: python3 ./Vendor/checkout-dependency testsuite
125+
# Check Windows build with CMake
126+
- run: cmake -G Ninja -B .build/cmake
127+
- run: cmake --build .build/cmake
128+
# Run tests with SwiftPM
125129
- run: swift test
126130
- run: ./CI/check-wasi-testsuite.ps1
127131

Sources/SystemExtras/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
add_wasmkit_library(SystemExtras
22
Vendor/Exports.swift
33
Vendor/Utils.swift
4+
Vendor/WindowsSyscallAdapter.swift
45
Clock.swift
56
Constants.swift
67
FileAtOperations.swift

0 commit comments

Comments
 (0)