Commit 1899e124 authored by Holger Witsch's avatar Holger Witsch

Update .gitlab-ci.yml

Trying to incorporate the files for
continuous integration from the lima/basler project .
parent a47f7419
Pipeline #10389 canceled with stages
in 9 seconds
#!/bin/sh
apt-get update -qq
# install dependecies for the ADQ libs
#apt-get install -f dkms -qq
apt-get install -f libusb-1.0 -qq
# To install the SDK packages, enter the "packages" directory and
# find the linux distribution and processor architecture you are using.
# Instructions for each distribution follows below.
# - Debian
#Install delivered versions of our packages using 'dpkg -i packagename'.
#Use the following order:
#spd-adq-pci-dkms
#libadq0
#adqtools
# install ADQ libraries
# is this needed for compilation only ?
#dpkg --install /tmp/spd-adq-pci-dkms_1.16_all.deb
dpkg --install /tmp/libadq0_0.38446_amd64.deb
#dpkg --install adqtools # this is needed for update, unnecessary here !
cmake -Bbuild -H. -G "%CMAKE_GENERATOR%" -DLIMA_ENABLE_PYTHON=1 -DCAMERA_ENABLE_TESTS=1 -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% -DPYTHON_SITE_PACKAGES_DIR=%SP_DIR% -DCMAKE_FIND_ROOT_PATH=%LIBRARY_PREFIX%
IF %ERRORLEVEL% NEQ 0 exit /b %ERRORLEVEL%
cmake --build build --config Release --target install
IF %ERRORLEVEL% NEQ 0 exit /b %ERRORLEVEL%
#!/bin/bash
cmake -Bbuild -H. -DLIMA_ENABLE_PYTHON=1 -DCAMERA_ENABLE_TESTS=1 -DCMAKE_INSTALL_PREFIX=$PREFIX -DPYTHON_SITE_PACKAGES_DIR=$SP_DIR -DCMAKE_FIND_ROOT_PATH=$PREFIX
cmake --build build --target install
make
{% set version = GIT_DESCRIBE_TAG[1:] %}
package:
name: lima-camera-basler
name: fpga
version: {{ version }}
source:
......@@ -11,34 +11,19 @@ build:
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
requirements:
host:
- python {{ python }}
- numpy
- sip 4.19.8 # For compatibility with pyqt 5.9.2
- lima-core
- pylon5-sdk
build:
- git
- cmake
- make
- {{ compiler('cxx') }}
run:
- python {{ python }}
- sip >=4.19.4, <=4.19.8 # For compatibility with pyqt 5.9.2
- {{ pin_compatible('lima-core', max_pin='x.x') }}
- pylon5-sdk
test:
requires:
- cmake
imports:
- Lima.Basler
- make
commands:
- cmake --version
- ctest --version
- cpack --version
- make --version
about:
home: https://github.com/esrf-bliss/Lima
home: https://gitlab.esrf.fr/bm28/FPGA_ADC_DS.git
license: GPL
license_file: COPYING
summary: a library for the unified control of 2D detectors
summary: Device server for SPDevices PCI acquisition cards
xcopy tango\*.* %SP_DIR%\Lima\Server\camera\
mkdir -p $SP_DIR/Lima/Server/camera && cp tango/*.* $SP_DIR/Lima/Server/camera
{% set version = GIT_DESCRIBE_TAG[1:] %}
package:
name: lima-camera-basler-tango
version: {{ version }}
source:
path: ../..
build:
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
noarch: python
requirements:
run:
- lima-tango-server
- lima-camera-basler
about:
home: https://github.com/esrf-bliss/Lima
license: GPL
license_file: COPYING
summary: a library for the unified control of 2D detectors
blas_impl:
- mkl # [x86_64]
c_compiler:
- vs2017 # [win]
cxx_compiler:
- vs2017 # [win]
python:
- 2.7 # [linux]
- 3.6
- 3.7
# This differs from target_platform in that it determines what subdir the compiler
# will target, not what subdir the compiler package will be itself.
# For example, we need a win-64 vs2008_win-32 package, so that we compile win-32
# code on win-64 miniconda.
cross_compiler_target_platform:
- win-64 # [win]
target_platform:
- win-64 # [win]
vc:
- 14
zip_keys:
- # [win]
- vc # [win]
- c_compiler # [win]
- cxx_compiler # [win]
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