summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDavePutz <dwputz@gmail.com>2020-12-28 09:13:37 -0600
committerGitHub <noreply@github.com>2020-12-28 09:13:37 -0600
commit9c14593d623181e7b1eb5f5358869977befc1d74 (patch)
treea8dcb57b312b97518f185154e10a71274583fcb4 /.github/workflows
parent3d5c77c601fa8297861416dde52211809c3e7b58 (diff)
parent1b7fbaf31eb84ce718fc715dc09a32b010eac9b5 (diff)
Merge pull request #36 from adafruit/main
UPdate from adafruit main
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml59
1 files changed, 31 insertions, 28 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2378a0965..1a21c13c4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -35,6 +35,7 @@ jobs:
python-version: 3.8
- name: Install deps
run: |
+ sudo apt-get update
sudo apt-get install -y eatmydata
sudo eatmydata apt-get install -y gettext librsvg2-bin mingw-w64 latexmk texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra
pip install requests sh click setuptools cpp-coveralls "Sphinx<4" sphinx-rtd-theme recommonmark sphinx-autoapi sphinxcontrib-svg2pdfconverter polib pyyaml astroid isort black awscli mypy
@@ -42,6 +43,32 @@ jobs:
run: |
gcc --version
python3 --version
+ - name: Translations
+ run: make check-translate
+ - name: New boards check
+ run: python3 -u ci_new_boards_check.py
+ working-directory: tools
+ - name: Duplicate USB VID/PID Check
+ run: python3 -u -m tools.ci_check_duplicate_usb_vid_pid
+ - name: Build and Validate Stubs
+ run: make check-stubs -j2
+ - uses: actions/upload-artifact@v2
+ with:
+ name: stubs
+ path: circuitpython-stubs*
+ - name: Test Documentation Build (HTML)
+ run: sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _build/html
+ - uses: actions/upload-artifact@v2
+ with:
+ name: docs
+ path: _build/html
+ - name: Test Documentation Build (LaTeX/PDF)
+ run: |
+ make latexpdf
+ - uses: actions/upload-artifact@v2
+ with:
+ name: docs
+ path: _build/latex
- name: Build mpy-cross
run: make -C mpy-cross -j2
- name: Build unix port
@@ -67,32 +94,6 @@ jobs:
- name: mpy Tests
run: MICROPY_CPYTHON3=python3.8 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float
working-directory: tests
- - name: Build and Validate Stubs
- run: make check-stubs -j2
- - uses: actions/upload-artifact@v2
- with:
- name: stubs
- path: circuitpython-stubs*
- - name: Test Documentation Build (HTML)
- run: sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _build/html
- - uses: actions/upload-artifact@v2
- with:
- name: docs
- path: _build/html
- - name: Test Documentation Build (LaTeX/PDF)
- run: |
- make latexpdf
- - uses: actions/upload-artifact@v2
- with:
- name: docs
- path: _build/latex
- - name: Translations
- run: make check-translate
- - name: New boards check
- run: python3 -u ci_new_boards_check.py
- working-directory: tools
- - name: Duplicate USB VID/PID Check
- run: python3 -u -m tools.ci_check_duplicate_usb_vid_pid
- name: Build mpy-cross.static-raspbian
run: make -C mpy-cross -j2 -f Makefile.static-raspbian
- uses: actions/upload-artifact@v2
@@ -184,6 +185,7 @@ jobs:
- "arduino_nano_33_iot"
- "arduino_zero"
- "bast_pro_mini_m0"
+ - "bastble"
- "bdmicro_vina_d21"
- "bdmicro_vina_d51"
- "bless_dev_board_multi_sensor"
@@ -310,6 +312,7 @@ jobs:
- "sparkfun_samd21_mini"
- "sparkfun_samd51_thing_plus"
- "spresense"
+ - "stackrduino_m0_pro"
- "stm32f411ce_blackpill"
- "stm32f411ve_discovery"
- "stm32f412zg_discovery"
@@ -342,8 +345,8 @@ jobs:
run: |
sudo apt-get install -y gettext
pip install requests sh click setuptools awscli
- wget https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
- sudo tar -C /usr --strip-components=1 -xaf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
+ wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
+ sudo tar -C /usr --strip-components=1 -xaf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
- name: Versions
run: |
gcc --version