File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -18,19 +18,30 @@ jobs:
18
18
TRAVIS_BOARDS : ' feather_m0_express'
19
19
20
20
steps :
21
- - script : |
21
+ - checkout : self
22
+ fetchDepth : 6
23
+ submodules : recursive
24
+ - bash : |
25
+ LAST_TAG=`git ls-remote --quiet --tags --sort=version:refname | egrep -o "refs/tags/[0-9]+.*\$" | tail -n 1`
26
+ git fetch --depth 1 origin $LAST_TAG:$LAST_TAG
27
+ git describe --dirty --always --tags
28
+ displayName: 'Expand git history'
29
+ - bash : |
22
30
wget https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~xenial1_amd64.deb
23
31
sudo dpkg -i gcc-arm-embedded*_amd64.deb
24
- displayName: 'Install GCC'
25
- - script : |
32
+ displayName: 'Install ARM GCC'
33
+ - bash : |
34
+ sudo apt-get install gettext
35
+ displayName: 'Install deps'
36
+ - bash : |
26
37
gcc --version
27
38
arm-none-eabi-gcc --version
28
39
python3 --version
29
40
displayName: 'Print versions'
30
- - script : |
41
+ - bash : |
31
42
make -C mpy-cross -j2
32
43
displayName: 'Build mpy-cross'
33
- - script : |
44
+ - bash : |
34
45
python3 -u build_release_files.py
35
46
displayName: 'Build board'
36
47
workingDirectory: 'tools'
You can’t perform that action at this time.
0 commit comments