Skip to content

Commit 25273f9

Browse files
committed
Merge remote-tracking branch 'origin/master' into korean_trans
2 parents a0877b3 + 8778f36 commit 25273f9

File tree

1,710 files changed

+48233
-230135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,710 files changed

+48233
-230135
lines changed

.github/workflows/build.yml

Lines changed: 207 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,207 @@
1+
name: Build CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
release:
7+
types: [published]
8+
check_suite:
9+
types: [rerequested]
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-16.04
14+
steps:
15+
- name: Dump GitHub context
16+
env:
17+
GITHUB_CONTEXT: ${{ toJson(github) }}
18+
run: echo "$GITHUB_CONTEXT"
19+
- name: Set up Python 3.5
20+
uses: actions/setup-python@v1
21+
with:
22+
python-version: 3.5
23+
- name: Install deps
24+
run: |
25+
sudo apt-get install -y gettext librsvg2-bin
26+
pip install requests sh click setuptools cpp-coveralls Sphinx sphinx-rtd-theme recommonmark sphinxcontrib-svg2pdfconverter polib pyyaml
27+
- name: Versions
28+
run: |
29+
gcc --version
30+
python3 --version
31+
- uses: actions/checkout@v1
32+
with:
33+
submodules: true
34+
- name: CircuitPython version
35+
run: git describe --dirty --always --tags
36+
- name: Build mpy-cross
37+
run: make -C mpy-cross -j2
38+
- name: Build unix port
39+
run: |
40+
make -C ports/unix deplibs -j2
41+
make -C ports/unix -j2
42+
make -C ports/unix coverage -j2
43+
- name: Test all
44+
run: MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1
45+
working-directory: tests
46+
- name: Print failure info
47+
run: |
48+
for exp in *.exp;
49+
do testbase=$(basename $exp .exp);
50+
echo -e "\nFAILURE $testbase";
51+
diff -u $testbase.exp $testbase.out;
52+
done
53+
working-directory: tests
54+
if: failure()
55+
- name: Native Tests
56+
run: MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native
57+
working-directory: tests
58+
- name: mpy Tests
59+
run: MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float
60+
working-directory: tests
61+
- name: Docs
62+
run: sphinx-build -E -W -b html . _build/html
63+
- name: Translations
64+
run: make check-translate
65+
- name: New boards check
66+
run: python3 -u ci_new_boards_check.py
67+
working-directory: tools
68+
69+
build-arm:
70+
runs-on: ubuntu-16.04
71+
needs: test
72+
strategy:
73+
fail-fast: false
74+
matrix:
75+
board:
76+
- "arduino_mkr1300"
77+
- "arduino_mkrzero"
78+
- "arduino_nano_33_ble"
79+
- "arduino_zero"
80+
- "bast_pro_mini_m0"
81+
- "capablerobot_usbhub"
82+
- "catwan_usbstick"
83+
- "circuitplayground_bluefruit"
84+
- "circuitplayground_express"
85+
- "circuitplayground_express_crickit"
86+
- "circuitplayground_express_displayio"
87+
- "cp32-m4"
88+
- "datalore_ip_m4"
89+
- "datum_distance"
90+
- "datum_imu"
91+
- "datum_light"
92+
- "datum_weather"
93+
- "electronut_labs_blip"
94+
- "electronut_labs_papyr"
95+
- "escornabot_makech"
96+
- "feather_m0_adalogger"
97+
- "feather_m0_basic"
98+
- "feather_m0_express"
99+
- "feather_m0_express_crickit"
100+
- "feather_m0_rfm69"
101+
- "feather_m0_rfm9x"
102+
- "feather_m0_supersized"
103+
- "feather_m4_express"
104+
- "feather_nrf52840_express"
105+
- "feather_radiofruit_zigbee"
106+
- "feather_stm32f405_express"
107+
- "gemma_m0"
108+
- "grandcentral_m4_express"
109+
- "hallowing_m0_express"
110+
- "hallowing_m4_express"
111+
- "itsybitsy_m0_express"
112+
- "itsybitsy_m4_express"
113+
- "itsybitsy_nrf52840_express"
114+
- "kicksat-sprite"
115+
- "makerdiary_nrf52840_mdk"
116+
- "makerdiary_nrf52840_mdk_usb_dongle"
117+
- "meowmeow"
118+
- "metro_m0_express"
119+
- "metro_m4_airlift_lite"
120+
- "metro_m4_express"
121+
- "metro_nrf52840_express"
122+
- "mini_sam_m4"
123+
- "monster_m4sk"
124+
- "particle_argon"
125+
- "particle_boron"
126+
- "particle_xenon"
127+
- "pca10056"
128+
- "pca10059"
129+
- "pewpew10"
130+
- "pewpew_m4"
131+
- "pirkey_m0"
132+
- "pybadge"
133+
- "pybadge_airlift"
134+
- "pyboard_v11"
135+
- "pygamer"
136+
- "pygamer_advance"
137+
- "pyportal"
138+
- "pyportal_titano"
139+
- "pyruler"
140+
- "robohatmm1_m0"
141+
- "robohatmm1_m4"
142+
- "sam32"
143+
- "serpente"
144+
- "snekboard"
145+
- "sparkfun_lumidrive"
146+
- "sparkfun_nrf52840_mini"
147+
- "sparkfun_qwiic_micro_no_flash"
148+
- "sparkfun_qwiic_micro_with_flash"
149+
- "sparkfun_redboard_turbo"
150+
- "sparkfun_samd21_dev"
151+
- "sparkfun_samd21_mini"
152+
- "spresense"
153+
- "stm32f411ve_discovery"
154+
- "stm32f412zg_discovery"
155+
- "stringcar_m0_express"
156+
- "trellis_m4_express"
157+
- "trinket_m0"
158+
- "trinket_m0_haxpress"
159+
- "uchip"
160+
- "ugame10"
161+
- "winterbloom_sol"
162+
163+
steps:
164+
- name: Set up Python 3.5
165+
uses: actions/setup-python@v1
166+
with:
167+
python-version: 3.5
168+
- name: Install deps
169+
run: |
170+
sudo apt-get install -y gettext
171+
pip install requests sh click setuptools awscli
172+
wget https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~xenial1_amd64.deb && sudo dpkg -i gcc-arm-embedded*_amd64.deb
173+
- name: Versions
174+
run: |
175+
gcc --version
176+
arm-none-eabi-gcc --version
177+
python3 --version
178+
- uses: actions/checkout@v1
179+
with:
180+
submodules: true
181+
- name: mpy-cross
182+
run: make -C mpy-cross -j2
183+
- name: build
184+
run: python3 -u build_release_files.py
185+
working-directory: tools
186+
env:
187+
BOARDS: ${{ matrix.board }}
188+
- uses: actions/[email protected]
189+
with:
190+
name: ${{ matrix.board }}
191+
path: bin/${{ matrix.board }}
192+
- name: Upload to S3
193+
run: aws s3 cp bin/ s3://adafruit-circuit-python/bin/ --recursive --no-progress --region us-east-1
194+
env:
195+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
196+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
197+
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
198+
- name: Install upload deps
199+
run: |
200+
pip install uritemplate
201+
- name: Upload to Release
202+
run: python3 -u upload_release_files.py
203+
working-directory: tools
204+
env:
205+
UPLOAD_URL: ${{ github.event.release.upload_url }}
206+
ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.BLINKA_GITHUB_ACCESS_TOKEN }}
207+
if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested')
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Update CircuitPython.org
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
website:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Dump GitHub context
12+
env:
13+
GITHUB_CONTEXT: ${{ toJson(github) }}
14+
run: echo "$GITHUB_CONTEXT"
15+
- name: Set up Python 3.5
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: 3.5
19+
- name: Install deps
20+
run: |
21+
pip install requests sh click
22+
- name: Versions
23+
run: |
24+
gcc --version
25+
python3 --version
26+
- uses: actions/checkout@v1
27+
with:
28+
submodules: true
29+
- name: CircuitPython version
30+
run: git describe --dirty --always --tags
31+
- name: Website
32+
run: python3 build_board_info.py
33+
working-directory: tools
34+
env:
35+
RELEASE_TAG: ${{ github.event.release.tag_name }}
36+
ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.BLINKA_GITHUB_ACCESS_TOKEN }}
37+
if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested')

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
# Packages
1414
############
15+
dist/
16+
*.egg-info
1517

1618
# Logs and Databases
1719
######################
@@ -25,6 +27,7 @@
2527
######################
2628
build/
2729
bin/
30+
circuitpython-stubs/
2831

2932
# Test failure outputs
3033
######################

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,9 @@
9595
[submodule "frozen/circuitpython-stage"]
9696
path = frozen/circuitpython-stage
9797
url = https://github.com/python-ugame/circuitpython-stage.git
98+
[submodule "ports/stm32f4/stm32f4"]
99+
path = ports/stm32f4/stm32f4
100+
url = https://github.com/adafruit/stm32f4.git
101+
[submodule "ports/cxd56/spresense-exported-sdk"]
102+
path = ports/cxd56/spresense-exported-sdk
103+
url = https://github.com/sonydevworld/spresense-exported-sdk.git

0 commit comments

Comments
 (0)