mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-01 03:18:18 +08:00
31 lines
778 B
YAML
31 lines
778 B
YAML
name: win-build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [windows-2019]
|
|
|
|
steps:
|
|
- uses: xmake-io/github-action-setup-xmake@v1
|
|
- name: prepare
|
|
run: |
|
|
git clone https://github.com/fasiondog/hikyuu.git --recursive --depth 1
|
|
Invoke-WebRequest "https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.zip" -UseBasicParsing -OutFile ./boost_1_74_0.zip
|
|
Expand-Archive ./boost_1_74_0.zip -DestinationPath .
|
|
Copy-Item ./boost_1_74_0 ./hikyuu
|
|
- name: build
|
|
run: |
|
|
python --version
|
|
cd hikyuu
|
|
pip install click
|
|
python setup.py build
|
|
- name: test
|
|
run: |
|
|
cd hikyuu
|
|
python setup.py test
|