Skip to content

Commit 57c8a62

Browse files
fix(ci): build library first to avoid C++ modules race condition
GCC C++ modules require std.gcm to exist before dependent targets compile. Build mcpplibs-capi-lua first (serialized) then build remaining targets in parallel. Co-authored-by: SPeak <sunrisepeak@d2learn.org>
1 parent 971b71c commit 57c8a62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
- name: Build
4848
run: |
4949
xmake f -m release -y -vv
50+
xmake build -y -vv mcpplibs-capi-lua
5051
xmake -y -vv -j$(nproc)
5152
5253
- name: Test

0 commit comments

Comments
 (0)