76 lines
1.7 KiB
YAML
76 lines
1.7 KiB
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: buildqpms-alpine-preinstlibs
|
||
|
|
||
|
workspace:
|
||
|
path: /home/qpmsbuild/qpms
|
||
|
|
||
|
# don't run in master until the python/lapacke linking problem is resolved
|
||
|
trigger:
|
||
|
branch:
|
||
|
exclude:
|
||
|
- master
|
||
|
|
||
|
steps:
|
||
|
- name: chown
|
||
|
image: qpms/buildenv/alpine/pkgdnumlib
|
||
|
pull: never
|
||
|
commands:
|
||
|
- chown -R qpmsbuild.qpmsbuild .
|
||
|
- name: submodules
|
||
|
image: qpms/buildenv/alpine/pkgdnumlib
|
||
|
pull: never
|
||
|
user: qpmsbuild
|
||
|
commands:
|
||
|
- git submodule init
|
||
|
- git submodule update
|
||
|
- name: build
|
||
|
image: qpms/buildenv/alpine/pkgdnumlib
|
||
|
pull: never
|
||
|
user: qpmsbuild
|
||
|
commands:
|
||
|
- cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local .
|
||
|
- make install
|
||
|
- export LIBRARY_PATH=$HOME/.local/lib
|
||
|
- python3 setup.py install --user
|
||
|
- cd examples/rectangular/modes
|
||
|
- pip3 install --user matplotlib #needed to run the example
|
||
|
- export LD_LIBRARY_PATH=$HOME/.local/lib
|
||
|
- ./01a_realfreq_svd.sh
|
||
|
|
||
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: buildqpms-debian-preinstlibs
|
||
|
|
||
|
workspace:
|
||
|
path: /home/qpmsbuild/qpms
|
||
|
|
||
|
steps:
|
||
|
- name: chown
|
||
|
image: qpms/buildenv/debian/pkgdnumlib
|
||
|
pull: never
|
||
|
commands:
|
||
|
- chown -R qpmsbuild.qpmsbuild .
|
||
|
- name: submodules
|
||
|
image: qpms/buildenv/debian/pkgdnumlib
|
||
|
pull: never
|
||
|
user: qpmsbuild
|
||
|
commands:
|
||
|
- git submodule init
|
||
|
- git submodule update
|
||
|
- name: build
|
||
|
image: qpms/buildenv/debian/pkgdnumlib
|
||
|
pull: never
|
||
|
user: qpmsbuild
|
||
|
commands:
|
||
|
- cmake -DCMAKE_INSTALL_PREFIX=/home/qpmsbuild/.local .
|
||
|
- make install
|
||
|
- export LIBRARY_PATH=$HOME/.local/lib
|
||
|
- python3 setup.py install --user
|
||
|
- cd examples/rectangular/modes
|
||
|
- pip3 install --user matplotlib #needed to run the example
|
||
|
- export LD_LIBRARY_PATH=$HOME/.local/lib
|
||
|
- ./01a_realfreq_svd.sh
|