We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fec80f9 commit 10c2d9dCopy full SHA for 10c2d9d
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,39 @@
1
+name: build
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ paths:
7
+ - ".github/workflows/build.yml"
8
+ - "include/**"
9
+ - "src/**"
10
+ - "xmake.lua"
11
+ pull_request:
12
13
+ workflow_dispatch:
14
15
+jobs:
16
+ xmake:
17
+ runs-on: windows-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ mode:
22
+ - debug
23
+ - release
24
+ steps:
25
+ - name: Checkout
26
+ uses: actions/checkout@v4
27
+ with:
28
+ submodules: recursive
29
30
+ - name: Setup XMake
31
+ uses: xmake-io/github-action-setup-xmake@v1
32
33
+ xmake-version: "latest"
34
35
+ - name: Configure
36
+ run: xmake config -y --mode=${{ matrix.mode }}
37
38
+ - name: Build
39
+ run: xmake build -y -vD
0 commit comments