File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,19 +2,18 @@ stages:
22 - build
33 - test
44
5- before_script :
6- - pip3 install virtualenv pytest
7-
85build :
96 image : python:latest
107 stage : build
118 script :
9+ - pip3 install virtualenv
1210 # a function to download a library from another Gitlab repos CI artifacts
1311 - ' download_library(){ curl --create-dirs -o objectbox/lib/$1 -H "PRIVATE-TOKEN: $CI_API_TOKEN" $2; }'
1412 - ' download_library x86_64/libobjectbox.so "${OBXLIB_URL_Linux64}"'
1513 - ' download_library x86_64/libobjectbox.dylib "${OBXLIB_URL_Mac64}"'
1614 - ' download_library armv7l/libobjectbox.so "${OBXLIB_URL_LinuxARMv7hf}"'
1715 - ' download_library armv6l/libobjectbox.so "${OBXLIB_URL_LinuxARMv6hf}"'
16+ - ' download_library AMD64/objectbox.dll "${OBXLIB_URL_Win64}"'
1817 - make test
1918 - make build
2019 artifacts :
2524.test :
2625 stage : test
2726 script :
27+ - pip3 install pytest
2828 - rm -r objectbox
2929 - pip3 install --force-reinstall dist/*.whl
3030 - python3 -m pytest
@@ -65,4 +65,8 @@ test:linux:armv7hf:
6565
6666test:mac:x64 :
6767 extends : .test
68- tags : [mac, x64, shell, python3]
68+ tags : [mac, x64, shell, python3]
69+
70+ test:windows:x64 :
71+ extends : .test
72+ tags : [windows, x64, shell, python3]
Original file line number Diff line number Diff line change 2828
2929 'Operating System :: POSIX :: Linux' ,
3030 # 'Operating System :: MacOS',
31- # 'Operating System :: Microsoft :: Windows',
31+ 'Operating System :: Microsoft :: Windows' ,
3232
3333 "Topic :: Database" ,
3434 "Topic :: Database :: Database Engines/Servers" ,
4747 packages = setuptools .find_packages (),
4848 package_data = {
4949 'objectbox' : [
50+ # Linux, macOS
5051 'lib/x86_64/*' ,
5152 'lib/armv7l/*' ,
5253 'lib/armv6l/*' ,
54+ # Windows
55+ 'lib/AMD64/*' ,
5356 ],
5457 }
5558)
You can’t perform that action at this time.
0 commit comments