Commit 4c632aa0 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

osx build

parent 9a67829d
Pipeline #7870 failed with stages
in 34 seconds
......@@ -24,7 +24,6 @@ mseabuild-linux :
stage : build
script:
- cd msealib
# linux
- mkdir build
- cd build/
- cmake .. -DCMAKE_BUILD_TYPE=Release
......@@ -41,25 +40,27 @@ mseabuild-windows :
image : immc/migflow-build:v0.6
stage : build
script:
# windows
- cd msealib
- mkdir build-mingw
- cd build-mingw
- cmake .. -DCMAKE_TOOLCHAIN_FILE=/cmake-mingw -DCMAKE_BUILD_TYPE=Release
- make -j4
- ls
- make
- mv *.dll *.dll.a ../../msea
- cd ../..
- python3 setup.py bdist_wheel --plat-name=win_amd64
#- cd ..
## OSX
#- mkdir build-osxcross
#- cd build-osxcross
#- $(osxcross-conf) && cmake .. -DCMAKE_TOOLCHAIN_FILE=/osxcross/target/toolchain.cmake -DCMAKE_BUILD_TYPE=Release
#- make -j4
#- python3 setup.py bdist_wheel --plat-name=macosx_10_9_x86_64 -d ../dist
#- cd ..
mseabuild-osx :
image : immc/migflow-build:v0.6
stage : build
script:
- cd msealib
- mkdir build-osxcross
- cd build-osxcross
- $(osxcross-conf) && cmake .. -DCMAKE_TOOLCHAIN_FILE=/osxcross/target/toolchain.cmake -DCMAKE_BUILD_TYPE=Release
- make
- mv *.dylib ../../msea
cd ../../
- python3 setup.py bdist_wheel --plat-name=macosx_10_9_x86_64
artifacts:
paths:
- dist
......
......@@ -29,7 +29,7 @@ setuptools.setup(
package_dir={"msea":"msea"},
#ext_modules=[CMakeExtension("msealib")],
#ext_modules=[setuptools.Extension("seameshlib",["seamesh.c"])],
package_data={"msea":["*.so","*.dll","*.dll.a"]},
package_data={"msea":["*.so","*.dll","*.dll.a","*.dylib"]},
classifiers=[
"Environment :: Console",
"Development Status :: 4 - Beta",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment