Skip to content

Commit

Permalink
Merge branch 'adafruit:main' into board-support-for-vidi-x
Browse files Browse the repository at this point in the history
  • Loading branch information
lovrojakic authored Jul 9, 2024
2 parents e60bddf + 079a5f5 commit 3e11e8a
Show file tree
Hide file tree
Showing 3,861 changed files with 33,821 additions and 69,524 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Custom board build
name: Build board (custom)

on:
workflow_dispatch:
Expand All @@ -21,6 +21,11 @@ on:
description: 'Flags: Build flags (e.g. CIRCUITPY_WIFI=1)'
required: false
type: string
branch:
description: 'Branch (only if Version="latest")'
required: false
default: 'main'
type: string
debug:
description: 'Make a debug build'
required: false
Expand All @@ -36,7 +41,22 @@ jobs:
- name: Set up repository
run: |
git clone --filter=tree:0 https://github.com/adafruit/circuitpython.git $GITHUB_WORKSPACE
- name: Checkout head / tag
run: |
git checkout ${{ inputs.version == 'latest' && 'HEAD' || inputs.version }}
- name: fork compatibility
if: github.repository_owner != 'adafruit'
run: |
git remote add fork https://github.com/${{github.repository}}.git
git fetch fork --filter=tree:0
- name: branch compatibility
if: inputs.branch != 'main' && inputs.version == 'latest' && github.repository_owner == 'adafruit'
run: |
git checkout ${{inputs.branch}}
- name: branch compatibility (fork)
if: inputs.branch != '' && inputs.version == 'latest' && github.repository_owner != 'adafruit'
run: |
git checkout -b fork-branch fork/${{inputs.branch}}
- name: Set up identifier
if: inputs.debug || inputs.flags != ''
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
cp-version: ${{ needs.scheduler.outputs.cp-version }}

mpy-cross-mac:
runs-on: macos-11
runs-on: macos-12
needs: scheduler
if: needs.scheduler.outputs.ports != '{}'
env:
Expand All @@ -129,29 +129,29 @@ jobs:
run: make -C mpy-cross -j4
- uses: actions/upload-artifact@v4
with:
name: mpy-cross-macos-11-x64
name: mpy-cross-macos-x64
path: mpy-cross/build/mpy-cross
- name: Build mpy-cross (arm64)
run: make -C mpy-cross -j4 -f Makefile.m1 V=2
- uses: actions/upload-artifact@v4
with:
name: mpy-cross-macos-11-arm64
name: mpy-cross-macos-arm64
path: mpy-cross/build-arm64/mpy-cross-arm64
- name: Make universal binary
run: lipo -create -output mpy-cross-macos-universal mpy-cross/build/mpy-cross mpy-cross/build-arm64/mpy-cross-arm64
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: mpy-cross-macos-11-universal
name: mpy-cross-macos-universal
path: mpy-cross-macos-universal
- name: Upload to S3
if: >-
(github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') ||
(github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
run: |
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross-macos-universal s3://adafruit-circuit-python/bin/mpy-cross/macos-11/mpy-cross-macos-11-${{ env.CP_VERSION }}-universal --no-progress --region us-east-1
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/build-arm64/mpy-cross-arm64 s3://adafruit-circuit-python/bin/mpy-cross/macos-11/mpy-cross-macos-11-${{ env.CP_VERSION }}-arm64 --no-progress --region us-east-1
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/build/mpy-cross s3://adafruit-circuit-python/bin/mpy-cross/macos-11/mpy-cross-macos-11-${{ env.CP_VERSION }}-x64 --no-progress --region us-east-1
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross-macos-universal s3://adafruit-circuit-python/bin/mpy-cross/macos/mpy-cross-macos-${{ env.CP_VERSION }}-universal --no-progress --region us-east-1
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/build-arm64/mpy-cross-arm64 s3://adafruit-circuit-python/bin/mpy-cross/macos/mpy-cross-macos-${{ env.CP_VERSION }}-arm64 --no-progress --region us-east-1
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/build/mpy-cross s3://adafruit-circuit-python/bin/mpy-cross/macos/mpy-cross-macos-${{ env.CP_VERSION }}-x64 --no-progress --region us-east-1
env:
AWS_PAGER: ''
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gettext uncrustify
sudo apt-get install -y gettext
- name: Run pre-commit
uses: pre-commit/action@v3.0.1
- name: Make patch
Expand Down
11 changes: 10 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
[submodule "ports/espressif/esp-idf"]
path = ports/espressif/esp-idf
url = https://github.com/adafruit/esp-idf.git
branch = circuitpython-v5.1.3
branch = circuitpython-v5.2.2
[submodule "ports/espressif/esp-protocols"]
path = ports/espressif/esp-protocols
url = https://github.com/espressif/esp-protocols.git
Expand Down Expand Up @@ -386,3 +386,12 @@
[submodule "frozen/Adafruit_CircuitPython_Bitmap_Font"]
path = frozen/Adafruit_CircuitPython_Bitmap_Font
url = https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font
[submodule "frozen/Adafruit_CircuitPython_MPU6050"]
path = frozen/Adafruit_CircuitPython_MPU6050
url = https://github.com/adafruit/Adafruit_CircuitPython_MPU6050
[submodule "frozen/Adafruit_CircuitPython_Pixel_Framebuf"]
path = frozen/Adafruit_CircuitPython_Pixel_Framebuf
url = https://github.com/adafruit/Adafruit_CircuitPython_Pixel_Framebuf
[submodule "frozen/Adafruit_CircuitPython_LED_Animation"]
path = frozen/Adafruit_CircuitPython_LED_Animation
url = https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation
Loading

0 comments on commit 3e11e8a

Please sign in to comment.