File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed
Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change 8080 python3 -m venv venv
8181 source venv/bin/activate
8282 pip install -e .
83-
84- - name : Reinstall mlonmcu in editable mode (fixes paths after cache restore)
85- working-directory : mlonmcu
86- shell : bash
87- run : |
88- source venv/bin/activate
89- pip install -e . --no-deps
9083
9184 - name : Initialize MLonMCU workspace if cache missed
9285 if : steps.cache-mlonmcu.outputs.cache-hit != 'true'
@@ -95,26 +88,14 @@ jobs:
9588 run : |
9689 source venv/bin/activate
9790 python3 -m mlonmcu.cli.main init -t kws workspace_kws --clone-models --non-interactive --allow-exists
98-
99- - name : Set MLONMCU_HOME env
100- run : echo "MLONMCU_HOME=$GITHUB_WORKSPACE/mlonmcu/workspace_kws" >> $GITHUB_ENV
91+ echo "MLONMCU_HOME=$GITHUB_WORKSPACE/mlonmcu/workspace_kws" >> $GITHUB_ENV
10192
102- - name : Cache MLonMCU dependencies (ETISS, toolchains, etc.)
103- id : cache-deps
104- uses : actions/cache@v4
105- with :
106- path : |
107- mlonmcu/workspace_kws/deps
108- key : mlonmcu-deps-${{ runner.os }}-v3-${{ hashFiles('mlonmcu/requirements.txt', 'mlonmcu/setup.py') }}
109- restore-keys : |
110- mlonmcu-deps-${{ runner.os }}-v3-
111- mlonmcu-deps-${{ runner.os }}-
11293 - name : Configure Git to use HTTPS with token
11394 run : |
11495 git config --global url."https://${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "[email protected] :" 11596
11697 - name : Setup MLonMCU toolchain
117- if : steps.cache-deps .outputs.cache-hit != 'true'
98+ if : steps.cache-mlonmcu .outputs.cache-hit != 'true'
11899 working-directory : mlonmcu
119100 shell : bash
120101 run : |
You can’t perform that action at this time.
0 commit comments