Skip to content

Commit 4faf000

Browse files
ci: Update Windows CI configuration to extend timeout and improve build steps
1 parent 0e1c01c commit 4faf000

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
8686
build-windows:
8787
runs-on: windows-latest
88-
timeout-minutes: 20
88+
timeout-minutes: 30
8989
steps:
9090
- name: Checkout
9191
uses: actions/checkout@v4
@@ -96,13 +96,17 @@ jobs:
9696
xmake-version: latest
9797
package-cache: true
9898

99-
- name: Build
99+
- name: Build core library
100100
run: |
101101
xmake f -m release -y -vv
102-
xmake -y -vv -j$env:NUMBER_OF_PROCESSORS
102+
xmake b -y -vv -j2 mcpplibs-primitives
103103
104-
- name: Test
105-
run: xmake run primitives_test
104+
- name: Build and test
105+
run: |
106+
xmake b -y -vv -j2 primitives_test
107+
xmake run primitives_test
106108
107-
- name: Run examples
108-
run: xmake run basic
109+
- name: Build and run basic example
110+
run: |
111+
xmake b -y -vv -j2 basic
112+
xmake run basic

0 commit comments

Comments
 (0)