mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-11-30 10:59:43 +08:00
update for github action windows
This commit is contained in:
parent
3aa1c4efd5
commit
c157406dc6
10
.github/workflows/windows.yml
vendored
10
.github/workflows/windows.yml
vendored
@ -20,20 +20,14 @@ jobs:
|
|||||||
Invoke-WebRequest "https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.zip" -UseBasicParsing -OutFile ./boost_1_74_0.zip
|
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 .
|
Expand-Archive ./boost_1_74_0.zip -DestinationPath .
|
||||||
Copy-Item ./boost_1_74_0 ./hikyuu
|
Copy-Item ./boost_1_74_0 ./hikyuu
|
||||||
- name: build_boost
|
- name: build
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
cd ./hikyuu/boost_1_74_0
|
|
||||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
|
|
||||||
call bootstrap.bat
|
|
||||||
cd ..
|
|
||||||
- name: build
|
|
||||||
run: |
|
|
||||||
python --version
|
|
||||||
pip install click
|
pip install click
|
||||||
cd hikyuu
|
cd hikyuu
|
||||||
python setup.py build
|
python setup.py build
|
||||||
- name: test
|
- name: test
|
||||||
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
cd hikyuu
|
cd hikyuu
|
||||||
python setup.py test
|
python setup.py test
|
||||||
|
Loading…
Reference in New Issue
Block a user