File tree 3 files changed +7
-18
lines changed 3 files changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -3,32 +3,27 @@ trigger:
3
3
4
4
variables :
5
5
cmakeargs : ' -DCMAKE_BUILD_TYPE=Release'
6
- build_conda : ' false' # quite slow, has to be enable manually
7
6
jobs :
8
7
- job : Linux
9
8
pool :
10
9
vmImage : ' ubuntu-16.04'
11
10
steps :
12
11
- template : ci/azure_build_steps.yml
13
- parameters :
14
- conda : $[ build_conda ]
15
12
- job : Windows
16
13
pool :
17
14
vmImage : ' vs2017-win2016'
18
15
steps :
19
16
- template : ci/azure_build_steps.yml
20
17
parameters :
21
18
cpack : false # cpack points to the wrong cpack
22
- conda : $[ build_conda ]
23
19
- job : macOS
24
20
pool :
25
- vmImage : ' macOS-10.14 '
21
+ vmImage : ' macOS-10.13 '
26
22
steps :
27
23
- template : ci/azure_build_steps.yml
28
24
parameters :
29
25
run_tests : true
30
26
cmake_stepvars : ' -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=1 -DCMAKE_POLICY_DEFAULT_CMP0069=NEW'
31
- conda : false # fails for some unknown reason
32
27
- job : manylinux
33
28
pool :
34
29
vmImage : ' ubuntu-16.04'
41
36
- template : ci/azure_build_steps.yml
42
37
parameters :
43
38
cpack : false
44
- conda : false
45
39
cmake_stepvars : ' -DCMAKE_SHARED_LINKER_FLAGS=-static-libstdc++ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=1 -DCMAKE_POLICY_DEFAULT_CMP0069=NEW -G Ninja'
46
40
- publish : build/install/lib/liblsl64.so
47
41
artifact : liblsl_manylinux2010_x64.so
Original file line number Diff line number Diff line change 1
1
parameters :
2
2
cpack : true
3
- conda : true
4
3
run_tests : true
5
4
cmake_stepvars : ' '
6
5
steps :
@@ -15,15 +14,6 @@ steps:
15
14
inputs :
16
15
cmakeArgs : ' --build . --config Release -j --target install'
17
16
displayName : ' Build files'
18
- - ${{ if eq(parameters.conda, 'true') }} :
19
- - task : CondaEnvironment@1
20
- inputs :
21
- packageSpecs : conda-build
22
- displayName : set up anaconda
23
- - bash : conda build conda --output-folder condaoutput
24
- displayName : ' build conda package'
25
- - publish : condaoutput
26
- artifact : ' $(Agent.JobName)_conda'
27
17
- ${{ if eq(parameters.cpack, 'true') }} :
28
18
- bash : cpack
29
19
workingDirectory : ' build'
Original file line number Diff line number Diff line change 14
14
string : {{ GIT_BUILD_STR }}
15
15
script :
16
16
- mkdir build
17
- - ' cmake -DLSL_UNIXFOLDERS=1 -G Ninja - DCMAKE_INSTALL_PREFIX:PATH="{{ PREFIX }}" -DCMAKE_INSTALL_RPATH:PATH="{{ PREFIX }}/lib" -DCMAKE_PREFIX_PATH:PATH="{{ environ.get("_CONDA_PREFIX") }}" - S . -B build'
17
+ - ' cmake -DLSL_UNIXFOLDERS=1 -DCMAKE_INSTALL_PREFIX:PATH="{{ PREFIX }}" -DCMAKE_INSTALL_RPATH:PATH="{{ PREFIX }}/lib" -S . -B build -G Ninja '
18
18
- ' cmake --build build -j --target install'
19
19
20
20
requirements :
@@ -23,6 +23,11 @@ requirements:
23
23
- {{ compiler("cxx") }}
24
24
- git
25
25
- ninja
26
+ host :
27
+
28
+ tests :
29
+ commands :
30
+ - lslver
26
31
27
32
about :
28
33
home : https://github.com/sccn/liblsl
You can’t perform that action at this time.
0 commit comments