Skip to content

Commit e54d0ba

Browse files
Create xmake.yml
1 parent 4017560 commit e54d0ba

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/xmake.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: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: windows-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: xmake-io/github-action-setup-xmake@v1
17+
with:
18+
xmake-version: latest
19+
actions-cache-folder: '.xmake-cache'
20+
actions-cache-key: 'ci'
21+
- name: build
22+
run: xmake -y
23+
- name: Upload a Build Artifact
24+
uses: actions/[email protected]
25+
with:
26+
path: ./build/windows/

0 commit comments

Comments
 (0)