-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9c444f
commit ffd97cc
Showing
3 changed files
with
23 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ on: | |
|
||
jobs: | ||
build-tflm: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
strategy: | ||
matrix: | ||
|
@@ -53,8 +53,7 @@ jobs: | |
|
||
- name: '🩹 Apply patches' | ||
run: | | ||
cd tflite-micro | ||
git apply --verbose ${GITHUB_WORKSPACE}/patches/tflite_micro.patch | ||
git apply --verbose --directory=tflite-micro ${GITHUB_WORKSPACE}/patches/tflite_micro.patch | ||
- name: '♻ Caching dependencies' | ||
uses: actions/[email protected] | ||
|
@@ -67,9 +66,15 @@ jobs: | |
if: steps.cache.outputs.cache-hit != 'true' | ||
run: source tools/ci.sh && ci_install_arm_gcc | ||
|
||
- name: '🐍 Set up Python' | ||
uses: actions/setup-python@v5 | ||
with: | ||
cache: 'pip' | ||
python-version: "3.12.4" | ||
|
||
- name: '🛠 Install dependencies' | ||
run: | | ||
python -m pip install --upgrade pip numpy==1.24 Pillow==10.3 | ||
python -m pip install --break-system-packages --upgrade pip -r requirements.txt | ||
- name: '🏗 Build TFLM' | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
numpy==1.26.4 | ||
Pillow==10.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters