mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-02 03:48:19 +08:00
update github action
This commit is contained in:
parent
a407c82b0e
commit
c520b0c12b
14
.github/workflows/ubuntu.yml
vendored
14
.github/workflows/ubuntu.yml
vendored
@ -15,23 +15,11 @@ jobs:
|
||||
- name: checkout
|
||||
run: |
|
||||
git clone https://github.com/fasiondog/hikyuu.git --recursive --depth 1
|
||||
- name: build_boost
|
||||
run: |
|
||||
cd ./hikyuu
|
||||
wget https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.bz2
|
||||
tar -jxf boost_1_75_0.tar.bz2
|
||||
cd boost_1_75_0
|
||||
ls
|
||||
./bootstrap.sh --with-python=python3
|
||||
./b2 release link=shared address-model=64 -j 4 --with-python --with-serialization;
|
||||
./b2 release link=static address-model=64 cxxflags=-fPIC -j 4 --with-date_time --with-filesystem --with-system --with-test --with-atomic;
|
||||
|
||||
- name: test
|
||||
- name: build
|
||||
run: |
|
||||
sudo apt-get install -y libsqlite3-dev
|
||||
cd ./hikyuu
|
||||
export BOOST_ROOT=./boost_1_75_0
|
||||
export BOOST_LIB=./boost_1_75_0/stage/lib
|
||||
xmake f -y
|
||||
xmake -b small-test
|
||||
xmake r small-test
|
||||
|
19
.github/workflows/windows.yml
vendored
19
.github/workflows/windows.yml
vendored
@ -21,26 +21,9 @@ jobs:
|
||||
Expand-Archive ./boost_1_75_0.zip -DestinationPath ./hikyuu
|
||||
# Copy-Item ./boost_1_75_0 ./hikyuu
|
||||
|
||||
- name: build_boost_b2
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
cd hikyuu/boost_1_75_0
|
||||
bootstrap.bat --with-python=python3
|
||||
|
||||
- name: build_boost
|
||||
shell: cmd
|
||||
run: |
|
||||
cd hikyuu/boost_1_75_0
|
||||
dir
|
||||
.\b2 release link=static runtime-link=shared address-model=64 -j 4 --with-date_time --with-filesystem --with-system --with-test
|
||||
.\b2 release link=shared runtime-link=shared address-model=64 -j 4 --with-python --with-serialization
|
||||
dir .\stage\lib
|
||||
|
||||
- name: test
|
||||
shell: cmd
|
||||
run: |
|
||||
set BOOST_ROOT=D:\a\hikyuu\hikyuu\hikyuu\boost_1_75_0
|
||||
set BOOST_LIB=D:\a\hikyuu\hikyuu\hikyuu\boost_1_75_0\stage\lib
|
||||
cd hikyuu
|
||||
xmake f -y
|
||||
xmake -b small-test
|
||||
|
Loading…
Reference in New Issue
Block a user