Fix: .github/workflows/build.yml
This commit is contained in:
parent
5ab2f16f64
commit
3dcee5be80
47
.github/workflows/build.yml
vendored
47
.github/workflows/build.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
- name: CircuitPython version
|
- name: CircuitPython version
|
||||||
run: |
|
run: |
|
||||||
git describe --dirty --tags
|
git describe --dirty --tags
|
||||||
echo "::set-env name=CP_VERSION::$(git describe --dirty --tags)"
|
echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags)
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
@ -36,7 +36,7 @@ jobs:
|
|||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y eatmydata
|
sudo apt-get install -y eatmydata
|
||||||
sudo eatmydata apt-get install -y gettext librsvg2-bin mingw-w64
|
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
|
pip install requests sh click setuptools cpp-coveralls "Sphinx<4" sphinx-rtd-theme recommonmark sphinx-autoapi sphinxcontrib-svg2pdfconverter polib pyyaml astroid isort black awscli
|
||||||
- name: Versions
|
- name: Versions
|
||||||
run: |
|
run: |
|
||||||
@ -73,17 +73,26 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: stubs
|
name: stubs
|
||||||
path: circuitpython-stubs*
|
path: circuitpython-stubs*
|
||||||
- name: Docs
|
- name: Test Documentation Build (HTML)
|
||||||
run: sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _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
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: docs
|
name: docs
|
||||||
path: _build/html
|
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
|
- name: Translations
|
||||||
run: make check-translate
|
run: make check-translate
|
||||||
- name: New boards check
|
- name: New boards check
|
||||||
run: python3 -u ci_new_boards_check.py
|
run: python3 -u ci_new_boards_check.py
|
||||||
working-directory: tools
|
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
|
- name: Build mpy-cross.static-raspbian
|
||||||
run: make -C mpy-cross -j2 -f Makefile.static-raspbian
|
run: make -C mpy-cross -j2 -f Makefile.static-raspbian
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
@ -122,8 +131,8 @@ jobs:
|
|||||||
run: echo "$GITHUB_CONTEXT"
|
run: echo "$GITHUB_CONTEXT"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
brew install gettext awscli
|
brew install gettext
|
||||||
echo "::set-env name=PATH::/usr/local/opt/gettext/bin:$PATH"
|
echo >>$GITHUB_PATH /usr/local/opt/gettext/bin
|
||||||
- name: Versions
|
- name: Versions
|
||||||
run: |
|
run: |
|
||||||
gcc --version
|
gcc --version
|
||||||
@ -137,7 +146,7 @@ jobs:
|
|||||||
- name: CircuitPython version
|
- name: CircuitPython version
|
||||||
run: |
|
run: |
|
||||||
git describe --dirty --tags
|
git describe --dirty --tags
|
||||||
echo "::set-env name=CP_VERSION::$(git describe --dirty --tags)"
|
echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags)
|
||||||
- name: Build mpy-cross
|
- name: Build mpy-cross
|
||||||
run: make -C mpy-cross -j2
|
run: make -C mpy-cross -j2
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
@ -161,8 +170,8 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
board:
|
board:
|
||||||
- "8086_commander"
|
- "8086_commander"
|
||||||
- "TG-Watch02A"
|
|
||||||
- "ADM_B_NRF52840_1"
|
- "ADM_B_NRF52840_1"
|
||||||
|
- "TG-Watch02A"
|
||||||
- "aloriumtech_evo_m51"
|
- "aloriumtech_evo_m51"
|
||||||
- "aramcon_badge_2019"
|
- "aramcon_badge_2019"
|
||||||
- "arduino_mkr1300"
|
- "arduino_mkr1300"
|
||||||
@ -171,7 +180,8 @@ jobs:
|
|||||||
- "arduino_nano_33_iot"
|
- "arduino_nano_33_iot"
|
||||||
- "arduino_zero"
|
- "arduino_zero"
|
||||||
- "bast_pro_mini_m0"
|
- "bast_pro_mini_m0"
|
||||||
- "bdmicro_vina_m0"
|
- "bdmicro_vina_d21"
|
||||||
|
- "bdmicro_vina_d51"
|
||||||
- "bless_dev_board_multi_sensor"
|
- "bless_dev_board_multi_sensor"
|
||||||
- "blm_badge"
|
- "blm_badge"
|
||||||
- "capablerobot_usbhub"
|
- "capablerobot_usbhub"
|
||||||
@ -189,6 +199,8 @@ jobs:
|
|||||||
- "datum_imu"
|
- "datum_imu"
|
||||||
- "datum_light"
|
- "datum_light"
|
||||||
- "datum_weather"
|
- "datum_weather"
|
||||||
|
- "dynossat_edu_eps"
|
||||||
|
- "dynossat_edu_obc"
|
||||||
- "electronut_labs_blip"
|
- "electronut_labs_blip"
|
||||||
- "electronut_labs_papyr"
|
- "electronut_labs_papyr"
|
||||||
- "escornabot_makech"
|
- "escornabot_makech"
|
||||||
@ -202,6 +214,7 @@ jobs:
|
|||||||
- "feather_m0_rfm69"
|
- "feather_m0_rfm69"
|
||||||
- "feather_m0_rfm9x"
|
- "feather_m0_rfm9x"
|
||||||
- "feather_m0_supersized"
|
- "feather_m0_supersized"
|
||||||
|
- "feather_m4_can"
|
||||||
- "feather_m4_express"
|
- "feather_m4_express"
|
||||||
- "feather_m7_1011"
|
- "feather_m7_1011"
|
||||||
- "feather_mimxrt1011"
|
- "feather_mimxrt1011"
|
||||||
@ -228,11 +241,13 @@ jobs:
|
|||||||
- "makerdiary_nrf52840_m2_devkit"
|
- "makerdiary_nrf52840_m2_devkit"
|
||||||
- "makerdiary_nrf52840_mdk"
|
- "makerdiary_nrf52840_mdk"
|
||||||
- "makerdiary_nrf52840_mdk_usb_dongle"
|
- "makerdiary_nrf52840_mdk_usb_dongle"
|
||||||
|
- "matrixportal_m4"
|
||||||
- "meowbit_v121"
|
- "meowbit_v121"
|
||||||
- "meowmeow"
|
- "meowmeow"
|
||||||
- "metro_m0_express"
|
- "metro_m0_express"
|
||||||
- "metro_m4_airlift_lite"
|
- "metro_m4_airlift_lite"
|
||||||
- "metro_m4_express"
|
- "metro_m4_express"
|
||||||
|
- "metro_m7_1011"
|
||||||
- "metro_nrf52840_express"
|
- "metro_nrf52840_express"
|
||||||
- "mini_sam_m4"
|
- "mini_sam_m4"
|
||||||
- "monster_m4sk"
|
- "monster_m4sk"
|
||||||
@ -254,6 +269,7 @@ jobs:
|
|||||||
- "pca10100"
|
- "pca10100"
|
||||||
- "pewpew10"
|
- "pewpew10"
|
||||||
- "pewpew_m4"
|
- "pewpew_m4"
|
||||||
|
- "picoplanet"
|
||||||
- "pirkey_m0"
|
- "pirkey_m0"
|
||||||
- "pitaya_go"
|
- "pitaya_go"
|
||||||
- "pyb_nano_v2"
|
- "pyb_nano_v2"
|
||||||
@ -267,6 +283,8 @@ jobs:
|
|||||||
- "pyportal"
|
- "pyportal"
|
||||||
- "pyportal_titano"
|
- "pyportal_titano"
|
||||||
- "pyruler"
|
- "pyruler"
|
||||||
|
- "qtpy_m0"
|
||||||
|
- "qtpy_m0_haxpress"
|
||||||
- "raytac_mdbt50q-db-40"
|
- "raytac_mdbt50q-db-40"
|
||||||
- "robohatmm1_m4"
|
- "robohatmm1_m4"
|
||||||
- "sam32"
|
- "sam32"
|
||||||
@ -401,9 +419,17 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
board:
|
board:
|
||||||
|
- "adafruit_metro_esp32s2"
|
||||||
|
- "electroniccats_bastwifi"
|
||||||
|
- "espressif_kaluga_1"
|
||||||
- "espressif_saola_1_wroom"
|
- "espressif_saola_1_wroom"
|
||||||
- "espressif_saola_1_wrover"
|
- "espressif_saola_1_wrover"
|
||||||
|
- "microdev_micro_s2"
|
||||||
|
- "muselab_nanoesp32_s2"
|
||||||
|
- "targett_module_clip_wroom"
|
||||||
|
- "targett_module_clip_wrover"
|
||||||
- "unexpectedmaker_feathers2"
|
- "unexpectedmaker_feathers2"
|
||||||
|
- "unexpectedmaker_feathers2_prerelease"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
@ -423,6 +449,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/.idf_tools
|
path: ${{ github.workspace }}/.idf_tools
|
||||||
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20200801
|
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20200801
|
||||||
|
- name: Clone IDF submodules
|
||||||
|
run: |
|
||||||
|
(cd $IDF_PATH && git submodule update --init)
|
||||||
|
env:
|
||||||
|
IDF_PATH: ${{ github.workspace }}/ports/esp32s2/esp-idf
|
||||||
- name: Install IDF tools
|
- name: Install IDF tools
|
||||||
run: |
|
run: |
|
||||||
$IDF_PATH/tools/idf_tools.py --non-interactive install required
|
$IDF_PATH/tools/idf_tools.py --non-interactive install required
|
||||||
|
Loading…
x
Reference in New Issue
Block a user