84 lines
1.9 KiB
YAML
84 lines
1.9 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
|
|
- pip3 install --user matplotlib #needed to run the examples
|
|
- export LD_LIBRARY_PATH=$HOME/.local/lib
|
|
- cd examples/rectangular/modes
|
|
- ./01a_realfreq_svd.sh
|
|
- cd -
|
|
- cd examples/hexagonal/modes
|
|
#- ./01a_realfreq_svd.sh
|
|
#- ./01_compute_modes.sh
|
|
#- ./02b_compute_disp_0M.sh
|
|
#- ./02_compute_disp.sh
|
|
#- ./02x_compute_disp.sh
|
|
|