Skip to content

Commit

Permalink
Add component-display and component-scene as submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Aug 27, 2024
1 parent 436a8ac commit 2b10f96
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build
on:
push:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout pixie-firmware
uses: actions/checkout@v3
with:
ref: chore/add-submodules
- name: Verify user
run: echo $UID
- name: Build pixie-firmware using Docker
run: |
cd pixie-firmware
docker run --rm -v $PWD:/project -w /project -u $UID -e HOME=/tmp espressif/idf idf.py build
- name: Verify assets
run: |
ls -l ${{ github.workspace }}/pixie-firmware/build/pixie.bin
ls -l ${{ github.workspace }}/pixie-firmware/build/bootloader/bootloader.bin
ls -l ${{ github.workspace }}/pixie-firmware/build/partition_table/partition-table.bin
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "components/firefly-scene"]
path = components/firefly-scene
url = https://github.com/firefly/component-scene.git
[submodule "components/firefly-display"]
path = components/firefly-display
url = https://github.com/firefly/component-display.git
1 change: 1 addition & 0 deletions components/firefly-display
Submodule firefly-display added at abf370
1 change: 1 addition & 0 deletions components/firefly-scene
Submodule firefly-scene added at 3fee5d
4 changes: 2 additions & 2 deletions main/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dependencies:
version: ">=4.1.0"

firefly-display:
path: ../../firefly-display
path: ../components/firefly-display

firefly-scene:
path: ../../firefly-scene
path: ../components/firefly-scene

0 comments on commit 2b10f96

Please sign in to comment.