hikyuu2/.github/workflows/windows.yml

37 lines
766 B
YAML
Raw Normal View History

2019-10-03 00:40:06 +08:00
name: win-build
2019-09-22 15:54:36 +08:00
2023-09-15 01:07:04 +08:00
on:
push:
branches:
- master
pull_request:
branches:
- master
2019-09-22 15:54:36 +08:00
jobs:
build:
2019-10-01 18:53:37 +08:00
runs-on: ${{ matrix.os }}
strategy:
matrix:
2023-07-29 01:05:16 +08:00
os: [windows-2019, windows-2022]
2023-07-29 01:18:08 +08:00
arch: [x64] #, arm64]
2023-07-29 01:05:16 +08:00
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Windows-${{ matrix.os }}-${{ matrix.arch }}
cancel-in-progress: true
2019-09-22 15:54:36 +08:00
steps:
2019-10-01 18:53:37 +08:00
- uses: xmake-io/github-action-setup-xmake@v1
2021-04-03 16:37:07 +08:00
- name: checkout
2020-09-15 23:03:04 +08:00
run: |
git clone https://github.com/fasiondog/hikyuu.git --recursive --depth 1
2021-04-04 01:31:53 +08:00
2023-07-29 00:12:38 +08:00
- name: build
2021-04-03 16:50:53 +08:00
shell: cmd
2019-09-29 00:06:21 +08:00
run: |
2021-04-03 20:27:43 +08:00
cd hikyuu
2023-10-10 21:01:28 +08:00
xmake f --feedback=n -y
2021-04-03 18:37:09 +08:00
xmake -b small-test
2021-04-03 17:41:43 +08:00
xmake r small-test