Fix missing import in finiterectlat-scatter.py
[qpms.git] / .drone.yml
blob5b4940995ca89bbf809ea239b1d2be0d21779fb7
1 ---
2 kind: pipeline
3 type: docker
4 name: buildqpms-alpine-preinstlibs
6 workspace:
7   path: /home/qpmsbuild/qpms
9 # don't run in master until the python/lapacke linking problem is resolved
10 trigger:
11   branch:
12     exclude: 
13       - master
15 steps:
16 - name: chown
17   image: qpms/buildenv/alpine/pkgdnumlib
18   pull: never
19   commands:
20     - chown -R qpmsbuild.qpmsbuild .
21 - name: submodules
22   image: qpms/buildenv/alpine/pkgdnumlib
23   pull: never
24   user: qpmsbuild
25   commands:
26     - git submodule init
27     - git submodule update
28 - name: build
29   image: qpms/buildenv/alpine/pkgdnumlib
30   pull: never
31   user: qpmsbuild
32   commands:
33   - cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local .
34   - make install
35   - export LIBRARY_PATH=$HOME/.local/lib
36   - python3 setup.py install --user
37   - cd examples/rectangular/modes
38   - pip3 install --user matplotlib #needed to run the example
39   - export LD_LIBRARY_PATH=$HOME/.local/lib
40   - ./01a_realfreq_svd.sh
42 ---
43 kind: pipeline
44 type: docker
45 name: buildqpms-debian-preinstlibs
47 workspace:
48   path: /home/qpmsbuild/qpms
50 steps:
51 - name: chown
52   image: qpms/buildenv/debian/pkgdnumlib
53   pull: never
54   commands:
55     - chown -R qpmsbuild.qpmsbuild .
56 - name: submodules
57   image: qpms/buildenv/debian/pkgdnumlib
58   pull: never
59   user: qpmsbuild
60   commands:
61     - git submodule init
62     - git submodule update
63 - name: build
64   image: qpms/buildenv/debian/pkgdnumlib
65   pull: never
66   user: qpmsbuild
67   commands:
68   - cmake -DCMAKE_INSTALL_PREFIX=/home/qpmsbuild/.local .
69   - make install
70   - export LIBRARY_PATH=$HOME/.local/lib
71   - python3 setup.py install --user
72   - pip3 install --user matplotlib #needed to run the examples
73   - export LD_LIBRARY_PATH=$HOME/.local/lib
74   - cd examples/rectangular/modes
75   - ./01a_realfreq_svd.sh
76   - cd -
77   - cd examples/hexagonal/modes
78   #- ./01a_realfreq_svd.sh 
79   #- ./01_compute_modes.sh 
80   #- ./02b_compute_disp_0M.sh 
81   #- ./02_compute_disp.sh 
82   #- ./02x_compute_disp.sh