Skip to content

Commit 413eeb5

Browse files
committed
ci: clang-cl
1 parent 0598884 commit 413eeb5

1 file changed

Lines changed: 15 additions & 12 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -1,40 +1,43 @@
1-
name: Main CI
1+
name: build
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
paths:
7-
- ".github/workflows/main_ci.yml"
7+
- ".github/workflows/build.yml"
88
- "include/**"
99
- "src/**"
1010
- "xmake.lua"
11-
- "xmake-extra.lua"
11+
- "xmake-rules.lua"
1212
pull_request:
13-
branches: [ main ]
13+
branches: [main]
1414
workflow_dispatch:
1515

1616
jobs:
17-
build-xmake:
17+
xmake:
1818
runs-on: windows-latest
1919
strategy:
2020
fail-fast: false
2121
matrix:
2222
mode:
2323
- debug
2424
- release
25+
toolchain:
26+
- msvc
27+
- clang-cl
2528
steps:
26-
- name: Checkout
29+
- name: checkout
2730
uses: actions/checkout@v4
2831
with:
29-
submodules: 'recursive'
32+
submodules: recursive
3033

31-
- name: Setup XMake
34+
- name: setup
3235
uses: xmake-io/github-action-setup-xmake@v1
3336
with:
3437
xmake-version: "latest"
3538

36-
- name: Configure
37-
run: xmake config -y --mode=${{ matrix.mode }}
39+
- name: config
40+
run: xmake config -y --mode=${{ matrix.mode }} --toolchain=${{ matrix.toolchain }}
3841

39-
- name: Build
42+
- name: build
4043
run: xmake build -y -vD

0 commit comments

Comments
 (0)