Skip to content

Commit b2e010c

Browse files
committed
ci: adds build.yml
1 parent 9c4a851 commit b2e010c

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
paths-ignore:
8+
- '*.md'
9+
pull_request:
10+
paths-ignore:
11+
- '*.md'
12+
13+
jobs:
14+
windows:
15+
strategy:
16+
matrix:
17+
include:
18+
- name: windows-x64
19+
- runner: windows-latest
20+
- arch: x64
21+
name: ${{matrix.name}}
22+
runs-on: ${{matrix.runner}}
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- name: Build Clang
27+
shell: cmd
28+
run: |
29+
build.cmd clang debug release run clean
30+
31+
- name: Build MSVC
32+
shell: cmd
33+
run: |
34+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
35+
build.cmd msvc debug release run clean

0 commit comments

Comments
 (0)