Skip to content

Commit 72ace7b

Browse files
authored
Added initial build CI
1 parent 21d3ae8 commit 72ace7b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: ["windows-latest", "macos-latest", "ubuntu-latest"]
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v2
19+
20+
- name: Setup Xmake
21+
uses: xmake-io/github-action-setup-xmake@v1
22+
with:
23+
xmake-version: latest
24+
25+
- name: Run Xmake Build
26+
run: xmake build

0 commit comments

Comments
 (0)