-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (37 loc) · 820 Bytes
/
build.yml
File metadata and controls
42 lines (37 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: build
on:
push:
branches: [ main ]
paths:
- ".github/workflows/build.yml"
- "include/**"
- "src/**"
- "xmake.lua"
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
xmake:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
mode:
- debug
- release
toolchain:
- msvc
- clang-cl
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: setup
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: "latest"
- name: config
run: xmake config -y --mode=${{ matrix.mode }} --toolchain=${{ matrix.toolchain }}
- name: build
run: xmake build -y -vD