|
| 1 | +variables: |
| 2 | + - &ci_image 'cont-reg.bjodah.se:443/bjodah/triceratops-4:25' |
| 3 | + |
1 | 4 | when: |
2 | 5 | - event: [push] |
3 | 6 |
|
4 | 7 | steps: |
5 | 8 |
|
6 | 9 | - name: restore-cache |
7 | | - image: bjodah/bjodahimg20dot:21.8.a |
| 10 | + image: *ci_image |
8 | 11 | commands: |
9 | 12 | - curl ftp://${CI_REPO_NAME}:$${ARTIFACTS_PASS}@$${FTP_SERVER}/cache/cache-ci.tar | tar -C / x || mkdir -p $CI_WORKSPACE/cache-ci/pip_cache |
10 | 13 | secrets: [ ARTIFACTS_PASS, FTP_SERVER ] |
11 | 14 | when: |
12 | 15 | - event: push |
13 | 16 | repo: bjodah/pyodesys |
14 | 17 |
|
15 | | - - name: test-sund-5.7.0-rel |
| 18 | + - name: test-sund-6.7.0-rel |
16 | 19 | depends_on: restore-cache |
17 | | - image: bjodah/bjodahimg20dot:21.8.a |
| 20 | + image: *ci_image |
18 | 21 | environment: |
19 | | - - CC=gcc-11 |
20 | | - - CXX=g++-11 |
| 22 | + - CC=gcc-14 |
| 23 | + - CXX=g++-14 |
| 24 | + - CXXFLAGS=-std=c++20 |
21 | 25 | - OMP_NUM_THREADS=1 |
22 | 26 | - ANYODE_NUM_THREADS=2 |
23 | | - - CPLUS_INCLUDE_PATH=/usr/include/suitesparse:/opt/boost-1.77.0/include |
| 27 | + - CPLUS_INCLUDE_PATH=/usr/include/suitesparse:/opt-3/boost-1.88.0/include |
24 | 28 | - LIBRARY_PATH=/usr/lib/x86_64-linux-gnu |
25 | 29 | - LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu |
26 | | - - SUNDBASE=/opt/sundials-5.7.0-release |
| 30 | + - SUNDBASE=/opt-3/sundials-6.7.0-release |
27 | 31 | commands: |
28 | | - - cp -ra $CI_WORKSPACE /tmp/test-sund-5.7.0-rel |
29 | | - - cd /tmp/test-sund-5.7.0-rel |
30 | | - - python3 -m pip install --cache-dir $CI_WORKSPACE/cache-ci/pip_cache --upgrade-strategy=eager --upgrade cython https://github.com/bjodah/pycompilation/archive/master.tar.gz |
31 | | - - bash -c "ulimit -v 2048000; .ci/run_ci.sh pyodesys $SUNDBASE" |
| 32 | + - cp -ra $CI_WORKSPACE /tmp/test-sund-6.7.0-rel |
| 33 | + - cd /tmp/test-sund-6.7.0-rel |
| 34 | + - bash -lc "ulimit -v 2048000; .ci/run_ci.sh pyodesys $SUNDBASE" |
32 | 35 | - ./scripts/prepare_deploy.sh |
33 | 36 | - bash -c '[[ $(python3 setup.py --version) =~ ^[0-9]+.* ]]' |
34 | | - - cp -ra /tmp/test-sund-5.7.0-rel/deploy $CI_WORKSPACE/ |
| 37 | + - cp -ra /tmp/test-sund-6.7.0-rel/deploy $CI_WORKSPACE/ |
35 | 38 |
|
36 | | - - name: test-sund-5.7.0-extended |
| 39 | + - name: test-sund-6.7.0-extended |
37 | 40 | depends_on: restore-cache |
38 | | - image: bjodah/bjodahimg20dot:21.8.a |
| 41 | + image: *ci_image |
39 | 42 | environment: |
40 | | - - CC=gcc-11 |
41 | | - - CXX=g++-11 |
| 43 | + - CC=gcc-14 |
| 44 | + - CXX=g++-14 |
| 45 | + - CXXFLAGS=-std=c++20 |
42 | 46 | - OMP_NUM_THREADS=1 |
43 | 47 | - ANYODE_NUM_THREADS=2 |
44 | | - - CPLUS_INCLUDE_PATH=/usr/include/suitesparse:/opt/boost-1.77.0/include |
| 48 | + - CPLUS_INCLUDE_PATH=/usr/include/suitesparse:/opt-3/boost-1.88.0/include |
45 | 49 | - LIBRARY_PATH=/usr/lib/x86_64-linux-gnu |
46 | 50 | - LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu |
47 | | - - SUNDBASE=/opt/sundials-5.7.0-extended |
| 51 | + - SUNDBASE=/opt-3/sundials-6.7.0-extended |
48 | 52 | - PYCVODES_NO_LAPACK=1 |
49 | 53 | - PYCVODES_NO_KLU=1 |
50 | 54 | commands: |
51 | | - - cp -ra $CI_WORKSPACE/ /tmp/test-sund-5.7.0-extended |
52 | | - - cd /tmp/test-sund-5.7.0-extended |
53 | | - - python3 -m pip install --cache-dir $CI_WORKSPACE/cache-ci/pip_cache --upgrade-strategy=eager --upgrade cython |
54 | | - - bash -c "ulimit -v 2048000; .ci/run_ci.sh pyodesys $SUNDBASE" |
| 55 | + - cp -ra $CI_WORKSPACE/ /tmp/test-sund-6.7.0-extended |
| 56 | + - cd /tmp/test-sund-6.7.0-extended |
| 57 | + - bash -lc "ulimit -v 4096000; .ci/run_ci.sh pyodesys $SUNDBASE" |
55 | 58 | - ./scripts/grep-for-merge-blocking-token.sh |
56 | 59 | - ./scripts/grep-for-binary-data.sh |
57 | 60 |
|
58 | 61 | - name: rebuild-cache |
59 | | - image: bjodah/bjodahimg20dot:21.8.a |
| 62 | + image: *ci_image |
60 | 63 | commands: |
61 | 64 | - find $CI_WORKSPACE/cache-ci/ -type f -mtime +90 -exec rm {} \; |
62 | 65 | - tar cf cache-ci.tar $CI_WORKSPACE/cache-ci/ |
63 | 66 | - curl -T cache-ci.tar ftp://${CI_REPO_NAME}:$${ARTIFACTS_PASS}@$${FTP_SERVER}/cache/ |
64 | 67 | secrets: [ ARTIFACTS_PASS, FTP_SERVER ] |
65 | 68 | depends_on: |
66 | | - - test-sund-5.7.0-rel |
| 69 | + - test-sund-6.7.0-rel |
67 | 70 |
|
68 | 71 | - name: deploy-public-html |
69 | | - image: bjodah/bjodahimg20dot:21.8.a |
| 72 | + image: *ci_image |
70 | 73 | commands: |
71 | 74 | - tar -C deploy/public_html -czf ${CI_REPO_NAME}-${CI_COMMIT_BRANCH}.tar.gz . |
72 | 75 | - curl -T ${CI_REPO_NAME}-${CI_COMMIT_BRANCH}.tar.gz ftp://${CI_REPO_NAME}:$${ARTIFACTS_PASS}@$${FTP_SERVER}/public_html/ |
73 | 76 | secrets: [ ARTIFACTS_PASS, FTP_SERVER ] |
74 | 77 | depends_on: |
75 | | - - test-sund-5.7.0-rel |
| 78 | + - test-sund-6.7.0-rel |
76 | 79 |
|
0 commit comments