Skip to content

Commit f3a2442

Browse files
JohnAZoidbergTerrails
authored andcommitted
fwk/lotus-azalea: Prepare to move builder
BRANCH=fwk-lotus-azalea-19573 BUG= TEST=Still builds on gh-actions, shouldn't build a different binary. Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 9ce38ce commit f3a2442

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/lotus-azalea-build.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
max-parallel: 1
2020
matrix:
2121
platform: [
22-
{name: lotus, folder: lotus },
23-
{name: azalea, folder: lotus },
22+
{ name: lotus, folder: lotus, ver: "0.0.0", sha_len: 7, zephyr_ref: "lotus-zephyr", cmsis_ref: "cros/chromeos-main", remote: "github-private" },
23+
{ name: azalea, folder: lotus, ver: "0.0.0", sha_len: 7, zephyr_ref: "lotus-zephyr", cmsis_ref: "cros/chromeos-main", remote: "github-private" },
2424
]
2525

2626

@@ -49,16 +49,22 @@ jobs:
4949
- name: Manual checkout
5050
run: |
5151
pushd src/platform/ec
52-
git fetch github-private
52+
git fetch ${{ matrix.platform.remote }}
5353
git clean -ffdx
5454
# TODO: Doesn't work with on PR, only push
55-
git reset --hard github-private/$GITHUB_REF_NAME
55+
git reset --hard ${{ matrix.platform.remote }}/$GITHUB_REF_NAME
5656
popd
5757
5858
pushd src/third_party/zephyr/main
59-
git fetch github-private
59+
git fetch ${{ matrix.platform.remote }}
6060
git clean -ffdx
61-
git reset --hard github-private/lotus-zephyr
61+
git reset --hard ${{ matrix.platform.remote }}/${{ matrix.platform.zephyr_ref }}
62+
popd
63+
64+
pushd src/third_party/zephyr/cmsis
65+
git fetch cros
66+
git clean -ffdx
67+
git reset --hard ${{ matrix.platform.cmsis_ref }}
6268
popd
6369
6470
- name: Build ${{ matrix.platform.name }}

0 commit comments

Comments
 (0)