hikyuu2/.github/workflows/windows.yml
2023-07-29 01:06:51 +08:00

31 lines
688 B
YAML

name: win-build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019, windows-2022]
arch: [x64, arm64]
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Windows-${{ matrix.os }}-${{ matrix.arch }}
cancel-in-progress: true
steps:
- uses: xmake-io/github-action-setup-xmake@v1
- name: checkout
run: |
git clone https://github.com/fasiondog/hikyuu.git --recursive --depth 1
- name: build
shell: cmd
run: |
cd hikyuu
xmake f -y
xmake -b small-test
xmake r small-test