|
23 | 23 |
|
24 | 24 |
|
25 | 25 | os: linux
|
| 26 | + |
26 | 27 | dist: bionic
|
| 28 | + |
27 | 29 | language: minimal
|
| 30 | + |
28 | 31 | matrix:
|
29 | 32 | include:
|
30 | 33 | - name: "BASE GCC-8.3.0 32-bit Buster Pi[0-1]"
|
31 |
| - env: GCC_VERSION=8.3.0 RPIOS_TYPE=buster RPI_TYPE=0-1 BASE=true CACHE_NAME=BASE1 |
| 34 | + env: GCC_VERSION=8.3.0 RPIOS_TYPE=buster RPI_TYPE=0-1 BASE=true |
32 | 35 | language: minimal
|
33 | 36 | cache:
|
34 | 37 | ccache: true
|
35 | 38 | directories:
|
36 | 39 | - $HOME/.ccache
|
| 40 | + |
37 | 41 | - name: "BASE GCC-8.3.0 32-bit Buster Pi[2-3]"
|
38 |
| - env: GCC_VERSION=8.3.0 RPIOS_TYPE=buster RPI_TYPE=2-3 BASE=true CACHE_NAME=BASE2 |
| 42 | + env: GCC_VERSION=8.3.0 RPIOS_TYPE=buster RPI_TYPE=2-3 BASE=true |
39 | 43 | language: minimal
|
40 | 44 | cache:
|
41 | 45 | ccache: true
|
42 | 46 | directories:
|
43 | 47 | - $HOME/.ccache
|
| 48 | + |
44 | 49 | - name: "BASE GCC-8.3.0 32-bit Buster Pi[3+]"
|
45 |
| - env: GCC_VERSION=8.3.0 RPIOS_TYPE=buster RPI_TYPE=3+ BASE=true CACHE_NAME=BASE3 |
| 50 | + env: GCC_VERSION=8.3.0 RPIOS_TYPE=buster RPI_TYPE=3+ BASE=true |
46 | 51 | language: minimal
|
47 | 52 | cache:
|
48 | 53 | ccache: true
|
49 | 54 | directories:
|
50 | 55 | - $HOME/.ccache
|
| 56 | + |
51 | 57 | - name: "BASE GCC-6.3.0 32-bit Stretch Pi[0-1]"
|
52 |
| - env: GCC_VERSION=6.3.0 RPIOS_TYPE=stretch RPI_TYPE=0-1 BASE=true CACHE_NAME=BASE4 |
| 58 | + env: GCC_VERSION=6.3.0 RPIOS_TYPE=stretch RPI_TYPE=0-1 BASE=true |
53 | 59 | language: minimal
|
54 | 60 | cache:
|
55 | 61 | ccache: true
|
56 | 62 | directories:
|
57 | 63 | - $HOME/.ccache
|
| 64 | + |
58 | 65 | - name: "BASE GCC-6.3.0 32-bit Stretch Pi[2-3]"
|
59 |
| - env: GCC_VERSION=6.3.0 RPIOS_TYPE=stretch RPI_TYPE=2-3 BASE=true CACHE_NAME=BASE5 |
| 66 | + env: GCC_VERSION=6.3.0 RPIOS_TYPE=stretch RPI_TYPE=2-3 BASE=true |
60 | 67 | language: minimal
|
61 | 68 | cache:
|
62 | 69 | ccache: true
|
63 | 70 | directories:
|
64 | 71 | - $HOME/.ccache
|
| 72 | + |
65 | 73 | - name: "BASE GCC-6.3.0 32-bit Stretch Pi[3+]"
|
66 |
| - env: GCC_VERSION=6.3.0 RPIOS_TYPE=stretch RPI_TYPE=3+ BASE=true CACHE_NAME=BASE6 |
| 74 | + env: GCC_VERSION=6.3.0 RPIOS_TYPE=stretch RPI_TYPE=3+ BASE=true |
67 | 75 | language: minimal
|
68 | 76 | cache:
|
69 | 77 | ccache: true
|
70 | 78 | directories:
|
71 | 79 | - $HOME/.ccache
|
| 80 | + |
72 | 81 | - name: "BASE GCC-8.3.0 64-bit"
|
73 |
| - env: GCC_VERSION=8.3.0 OS_TYPE=2 RPI_TYPE=64 BASE=true CACHE_NAME=BASE7 |
| 82 | + env: GCC_VERSION=8.3.0 OS_TYPE=2 RPI_TYPE=64 BASE=true |
74 | 83 | language: minimal
|
75 | 84 | cache:
|
76 | 85 | ccache: true
|
77 | 86 | directories:
|
78 | 87 | - $HOME/.ccache
|
| 88 | + |
79 | 89 | - name: "BASE GCC-6.3.0 64-bit"
|
80 |
| - env: GCC_VERSION=6.3.0 OS_TYPE=1 RPI_TYPE=64 BASE=true CACHE_NAME=BASE8 |
| 90 | + env: GCC_VERSION=6.3.0 OS_TYPE=1 RPI_TYPE=64 BASE=true |
81 | 91 | language: minimal
|
82 | 92 | cache:
|
83 | 93 | ccache: true
|
84 | 94 | directories:
|
85 | 95 | - $HOME/.ccache
|
| 96 | + |
86 | 97 | before_install:
|
87 | 98 | - sudo apt-get update -qq;
|
88 |
| - sudo apt-get install -qq unzip wget dos2unix -y; |
89 |
| - sudo apt-get install -qq build-essential libssh2-1-dev openssl libcurl3 -y; |
90 |
| - dos2unix tools/CLIBB_32b; |
91 |
| - chmod +x tools/CLIBB_32b; |
92 |
| - dos2unix tools/CLIBB_64b; |
93 |
| - chmod +x tools/CLIBB_64b; |
| 99 | + sudo apt-get install -qq dos2unix -y; |
| 100 | + dos2unix build-scripts/CLI/CLIBB_32b; |
| 101 | + chmod +x build-scripts/CLI/CLIBB_32b; |
| 102 | + dos2unix build-scripts/CLI/CLIBB_64b; |
| 103 | + chmod +x build-scripts/CLI/CLIBB_64b; |
94 | 104 | dos2unix patches/curl_stfp_patcher;
|
95 | 105 | chmod +x patches/curl_stfp_patcher;
|
96 |
| - dos2unix tools/SF_deployer; |
97 |
| - chmod +x tools/SF_deployer; |
| 106 | + dos2unix utils/SF_deployer; |
| 107 | + chmod +x utils/SF_deployer; |
| 108 | + |
98 | 109 | install:
|
99 | 110 | - sudo apt-get -y install -qq gcc g++ gperf flex texinfo ccache pigz gawk gfortran texinfo bison
|
100 |
| - libncurses-dev autoconf automake; |
| 111 | + libncurses-dev autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget; |
101 | 112 | - sudo /usr/sbin/update-ccache-symlinks;
|
102 | 113 | - echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc;
|
103 | 114 | - source ~/.bashrc && echo $PATH;
|
| 115 | + |
104 | 116 | script:
|
105 | 117 | - while sleep 60; do echo "=====[ $SECONDS seconds still running ]====="; done &
|
106 |
| -- if [ "$RPI_TYPE" != "64" ] && [ "$BASE" = "true" ] && [ "$BASE" = "true" ] ; then bash tools/CLIBB_32b -r $RPI_TYPE -o $RPIOS_TYPE; fi |
107 |
| -- if [ "$RPI_TYPE" = "64" ] && [ "$BASE" = "true" ] && [ "$BASE" = "true" ] ; then bash tools/CLIBB_64b -g $GCC_VERSION -t $OS_TYPE; fi |
| 118 | +- if [ "$RPI_TYPE" != "64" ] && [ "$BASE" = "true" ] ; then bash build-scripts/CLI/CLIBB_32b -r $RPI_TYPE -o $RPIOS_TYPE; fi |
| 119 | +- if [ "$RPI_TYPE" = "64" ] && [ "$BASE" = "true" ] ; then bash build-scripts/CLI/CLIBB_64b -g $GCC_VERSION -t $OS_TYPE; fi |
108 | 120 | - kill %1
|
| 121 | + |
109 | 122 | after_success:
|
110 | 123 | - bash patches/curl_stfp_patcher;
|
111 |
| -- bash tools/SF_deployer; |
| 124 | +- bash utils/SF_deployer; |
| 125 | + |
112 | 126 | branches:
|
113 | 127 | only:
|
114 | 128 | - master
|
| 129 | + |
| 130 | +cache: |
| 131 | + directories: |
| 132 | + - $HOME/.ccache |
| 133 | + |
115 | 134 | env:
|
116 | 135 | global:
|
117 | 136 | - CURL_VERSION=7.68.0
|
|
0 commit comments