summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml7
-rw-r--r--.github/workflows/pre-commit.yml8
2 files changed, 10 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2a94b4043..12d45af62 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -43,8 +43,6 @@ 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
@@ -314,13 +312,16 @@ jobs:
- "simmel"
- "snekboard"
- "sparkfun_lumidrive"
+ - "sparkfun_nrf52840_micromod"
- "sparkfun_nrf52840_mini"
+ - "sparkfun_pro_micro_rp2040"
- "sparkfun_qwiic_micro_no_flash"
- "sparkfun_qwiic_micro_with_flash"
- "sparkfun_redboard_turbo"
- "sparkfun_samd21_dev"
- "sparkfun_samd21_mini"
- "sparkfun_samd51_thing_plus"
+ - "sparkfun_thing_plus_rp2040"
- "spresense"
- "stackrduino_m0_pro"
- "stm32f411ce_blackpill"
@@ -451,6 +452,8 @@ jobs:
- "espressif_kaluga_1"
- "espressif_saola_1_wroom"
- "espressif_saola_1_wrover"
+ - "franzininho_wifi_wroom"
+ - "franzininho_wifi_wrover"
- "lilygo_ttgo_t8_s2_st7789"
- "microdev_micro_s2"
- "muselab_nanoesp32_s2"
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 76bfd7786..894e28c0f 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -7,7 +7,6 @@ name: pre-commit
on:
pull_request:
push:
- branches: [main]
jobs:
pre-commit:
@@ -16,10 +15,13 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- name: Install deps
- run: sudo apt-get update && sudo apt-get install -y gettext
+ run: |
+ sudo apt-add-repository -y -u ppa:pybricks/ppa
+ sudo apt-get install -y black gettext uncrustify
+ pip3 install polib
- name: Populate selected submodules
run: git submodule update --init extmod/ulab
- - name: set PY
+ - name: Set PY
run: echo >>$GITHUB_ENV PY="$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
- uses: actions/cache@v2
with: