Skip to content

Commit

Permalink
Fixes depends libraries and cosmetic change
Browse files Browse the repository at this point in the history
  • Loading branch information
GOB52 committed Oct 17, 2024
1 parent f596656 commit 31a8307
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 64 deletions.
31 changes: 1 addition & 30 deletions .github/workflows/ArduinoBuild_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: ArduinoBuild(platform-version 2.x)

env:
SKETCH_NAMES_FIND_START: ./examples/UnitUnified
REQUIRED_LIBRARIES: M5Unified
M5UNITUNIFIED_BRANCH: main
# M5UNITUNIFIED_BRANCH: develop
REQUIRED_LIBRARIES: M5Unified,M5UnitUnified

on:
push:
Expand Down Expand Up @@ -88,33 +86,6 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

# Checkout library from specific URL and branch
# Note that dependent libraries are not automatically installed.

- name: Checkout M5Utility
uses: actions/checkout@v4
with:
repository: m5stack/M5Utility
ref: ${{ env.M5UNITUNIFIED_BRANCH }}
path: CustomLibrary_M5Utility # must contain string "Custom"
#token: ${{ secrets.TOKEN_M5UNITUNIFIED }} # Only required during development in private repo

- name: Checkout M5HAL
uses: actions/checkout@v4
with:
repository: m5stack/M5HAL
ref: ${{ env.M5UNITUNIFIED_BRANCH }}
path: CustomLibrary_M5HAL # must contain string "Custom"
#token: ${{ secrets.TOKEN_M5UNITUNIFIED }} # Only required during development in private repo

- name: Checkout M5UnitUnified
uses: actions/checkout@v4
with:
repository: m5stack/M5UnitUnified
ref: ${{ env.M5UNITUNIFIED_BRANCH }}
path: CustomLibrary_M5UnitUnified
#token: ${{ secrets.TOKEN_M5UNITUNIFIED }} # Only required during development in private repo

# Build
- name: Compile examples
uses: ArminJo/arduino-test-compile@master
Expand Down
31 changes: 1 addition & 30 deletions .github/workflows/ArduinoBuild_3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: ArduinoBuild(platform-version 3.x)

env:
SKETCH_NAMES_FIND_START: ./examples/UnitUnified
REQUIRED_LIBRARIES: M5Unified
M5UNITUNIFIED_BRANCH: main
# M5UNITUNIFIED_BRANCH: develop
REQUIRED_LIBRARIES: M5Unified,M5UnitUnified

on:
push:
Expand Down Expand Up @@ -94,33 +92,6 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

# Checkout library from specific URL and branch
# Note that dependent libraries are not automatically installed.

- name: Checkout M5Utility
uses: actions/checkout@v4
with:
repository: m5stack/M5Utility
ref: ${{ env.M5UNITUNIFIED_BRANCH }}
path: CustomLibrary_M5Utility # must contain string "Custom"
#token: ${{ secrets.TOKEN_M5UNITUNIFIED }} # Only required during development in private repo

- name: Checkout M5HAL
uses: actions/checkout@v4
with:
repository: m5stack/M5HAL
ref: ${{ env.M5UNITUNIFIED_BRANCH }}
path: CustomLibrary_M5HAL # must contain string "Custom"
#token: ${{ secrets.TOKEN_M5UNITUNIFIED }} # Only required during development in private repo

- name: Checkout M5UnitUnified
uses: actions/checkout@v4
with:
repository: m5stack/M5UnitUnified
ref: ${{ env.M5UNITUNIFIED_BRANCH }}
path: CustomLibrary_M5UnitUnified
#token: ${{ secrets.TOKEN_M5UNITUNIFIED }} # Only required during development in private repo

# Build
- name: Compile examples
uses: ArminJo/arduino-test-compile@master
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/PlatformioBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

# - name: Configure git for authentication (Until each repository is published)
# run: |
# git config --global url."https://${{ secrets.TOKEN_M5UNITUNIFIED }}@github.com/".insteadOf "https://github.com/"

- name: Build examples
uses: karniv00l/platformio-run-action@v1
with:
Expand Down

0 comments on commit 31a8307

Please sign in to comment.