mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-03 12:27:48 +08:00
38 lines
779 B
YAML
38 lines
779 B
YAML
name: win-python-build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- develop
|
|
|
|
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-python-${{ 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 --pyver=3.11
|
|
xmake -b core
|