8000 Split further and install setuptools · domdfcoding/circuitpython@9758174 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9758174

Browse files
committed
Split further and install setuptools
1 parent 6b743e2 commit 9758174

File tree

1 file changed

+54
-46
lines changed

1 file changed

+54
-46
lines changed

azure-pipelines.yml

Lines changed: 54 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,75 @@ trigger:
77
- azure-pipelines
88

99
jobs:
10+
- job: Test
11+
pool:
12+
vmImage: 'Ubuntu-16.04'
13+
steps:
14+
- checkout: self
15+
submodules: recursive
16+
# - bash: |
17+
# wget https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~xenial1_amd64.deb
18+
# sudo dpkg -i gcc-arm-embedded*_amd64.deb
19+
# displayName: 'Install ARM GCC'
20+
- bash: |
21+
sudo apt-get install gettext
22+
displayName: 'Install native deps'
23+
- bash: |
24+
sudo apt-get install -y python3-pip python3-setuptools
25+
pip3 install --user sh click Sphinx sphinx-rtd-theme recommonmark polib
26+
pip3 install --upgrade --user cpp-coveralls
27+
displayName: 'Install python deps'
28+
- bash: |
29+
gcc --version
30+
arm-none-eabi-gcc --version
31+
python3 --version
32+
displayName: 'Print versions'
33+
- bash: |
34+
make -C mpy-cross -j2
35+
displayName: 'Build mpy-cross'
36+
- bash: |
37+
make -C ports/unix deplibs -j2
38+
make -C ports/unix -j2
39+
make -C ports/unix coverage -j2
40+
displayName: 'Build unix'
41+
workingDirectory: 'tools'
42+
- bash: |
43+
MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1
44+
displayName: 'Test all'
45+
workingDirectory: 'tests'
46+
- bash: |
47+
MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 -d thread
48+
displayName: 'Test threads'
49+
workingDirectory: 'tests'
1050
- job: BuildARM
1151
pool:
1252
vmImage: 'Ubuntu-16.04'
1353
strategy:
1454
matrix:
1555
adafruit_samd_m0_boards:
1656
TRAVIS_BOARDS: 'trinket_m0 pirkey_m0 gemma_m0'
17-
samd_m0_boards:
18-
TRAVIS_BOARDS: 'sparkfun_lumidrive meowmeow uchip arduino_zero arduino_mkr1300 arduino_mkrzero pewpew10 sparkfun_samd21_mini sparkfun_samd21_dev catwan_usbstick'
57+
sparkfun_samd_m0_boards:
58+
TRAVIS_BOARDS: 'sparkfun_lumidrive sparkfun_samd21_mini sparkfun_samd21_dev'
59+
arduino_samd_m0_boards:
60+
TRAVIS_BOARDS: 'arduino_zero arduino_mkr1300 arduino_mkrzero'
61+
other_samd_m0_boards:
62+
TRAVIS_BOARDS: 'meowmeow uchip pewpew10 catwan_usbstick'
1963
feather_samd_m0_boards:
2064
TRAVIS_BOARDS: 'feather_radiofruit_zigbee feather_m0_rfm69 feather_m0_rfm9x feather_m0_adalogger feather_m0_basic'
21-
samd_m0_express_boards:
22-
TRAVIS_BOARDS: 'circuitplayground_express_crickit circuitplayground_express metro_m0_express sparkfun_redboard_turbo hallowing_m0_express itsybitsy_m0_express feather_m0_express_crickit feather_m0_express'
65+
samd_m0_express_boards1:
66+
TRAVIS_BOARDS: 'circuitplayground_express_crickit circuitplayground_express feather_m0_express_crickit feather_m0_express'
67+
samd_m0_express_boards2:
68+
TRAVIS_BOARDS: 'metro_m0_express sparkfun_redboard_turbo hallowing_m0_express itsybitsy_m0_express'
2369
nrf_boards:
2470
TRAVIS_BOARDS: 'pca10056 pca10059 makerdiary_nrf52840_mdk makerdiary_nrf52840_mdk_usb_dongle particle_boron particle_argon particle_xenon sparkfun_nrf52840_mini'
2571
nrf_express_boards:
2672
TRAVIS_BOARDS: 'feather_nrf52840_express'
2773
samd_m4_boards:
2874
TRAVIS_BOARDS: 'mini_sam_m4'
29-
samd_m4_express_boards:
30-
TRAVIS_BOARDS: 'grandcentral_m4_express metro_m4_express trellis_m4_express pybadge sam32 itsybitsy_m4_express feather_m4_express pyportal'
75+
samd_m4_express_boards1:
76+
TRAVIS_BOARDS: 'sam32 itsybitsy_m4_express feather_m4_express pyportal'
77+
samd_m4_express_boards2:
78+
TRAVIS_BOARDS: 'grandcentral_m4_express metro_m4_express trellis_m4_express pybadge'
3179

3280
steps:
3381
- checkout: self
@@ -55,46 +103,6 @@ jobs:
55103
python3 -u build_release_files.py
56104
displayName: 'Build board'
57105
workingDirectory: 'tools'
58-
- job: Test
59-
pool:
60-
vmImage: 'Ubuntu-16.04'
61-
steps:
62-
- checkout: self
63-
submodules: recursive
64-
# - bash: |
65-
# wget https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~xenial1_amd64.deb
66-
# sudo dpkg -i gcc-arm-embedded*_amd64.deb
67-
# displayName: 'Install ARM GCC'
68-
- bash: |
69-
sudo apt-get install gettext
70-
displayName: 'Install native deps'
71-
- bash: |
72-
sudo apt-get install -y python3-pip
73-
pip3 install --user sh click Sphinx sphinx-rtd-theme recommonmark polib
74-
pip3 install --upgrade --user cpp-coveralls
75-
displayName: 'Install python deps'
76-
- bash: |
77-
gcc --version
78-
arm-none-eabi-gcc --version
79-
python3 --version
80-
displayName: 'Print versions'
81-
- bash: |
82-
make -C mpy-cross -j2
83-
displayName: 'Build mpy-cross'
84-
- bash: |
85-
make -C ports/unix deplibs -j2
86-
make -C ports/unix -j2
87-
make -C ports/unix coverage -j2
88-
displayName: 'Build unix'
89-
workingDirectory: 'tools'
90-
- bash: |
91-
MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1
92-
displayName: 'Test all'
93-
workingDirectory: 'tests'
94-
- bash: |
95-
MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 -d thread
96-
displayName: 'Test threads'
97-
workingDirectory: 'tests'
98106
99107
#
100108
# - echo 'Testing with native' && echo 'travis_fold:start:test_native'

0 commit comments

Comments
 (0)
0