Skip to content

Commit 4c8baa4

Browse files
committed
feat: add xmake workflow
1 parent 552fa87 commit 4c8baa4

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Main CI [XMake]
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- ".github/workflows/main_ci_xmake.yml"
8+
- "include/**"
9+
- "src/**"
10+
- "xmake.lua"
11+
- "xmake-extra.lua"
12+
pull_request:
13+
branches: [ master ]
14+
workflow_dispatch:
15+
16+
jobs:
17+
build-xmake:
18+
runs-on: windows-latest
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
mode:
23+
- debug
24+
- release
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
29+
- name: Setup XMake
30+
uses: xmake-io/github-action-setup-xmake@v1
31+
with:
32+
xmake-version: "latest"
33+
34+
- name: Configure
35+
run: xmake config -y --mode=${{ matrix.mode }} --vs_toolset=14.41
36+
37+
- name: Build
38+
run: xmake build -y -vD

0 commit comments

Comments
 (0)