-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.sh
executable file
·52 lines (47 loc) · 1.83 KB
/
.travis.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
#
# @author iota square [i2]
# <pre>
# ██╗ ██████╗ ████████╗ █████╗ ██████╗
# ██║██╔═══██╗╚══██╔══╝██╔══██╗╚════██╗
# ██║██║ ██║ ██║ ███████║ █████╔╝
# ██║██║ ██║ ██║ ██╔══██║██╔═══╝
# ██║╚██████╔╝ ██║ ██║ ██║███████╗
# ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝
# </pre>
#
# @file .travis.sh
# @date 30-09-2019
# @brief Travis CI-CD execution script.
#
# @copyright GNU GPU v3
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# Free Software, Hell Yeah!
#
echo "### Initiating Build Process"
echo "-- C compilers available"
ls -1 tools/ARM_GNU/Linux64/bin/arm-none-eabi-*
echo "----"
echo "=== Building Debug"
./make clean && ./make
mkdir ../DEBUG
cp -r build/ ../DEBUG
./make get_mem_map > ../DEBUG/mem_map.log
cat ../DEBUG/mem_map.log
echo "=== Building Release"
./make clean && ./make RELEASE=yes
mkdir ../RELEASE
cp -r build/ ../RELEASE
./make get_mem_map RELEASE=yes > ../RELEASE/mem_map.log
cat ../RELEASE/mem_map.log
# *********************** (C) COPYRIGHT iota2 ***[i2]******END OF FILE**********