Skip to content

Commit

Permalink
fix(west): project path is now orb/
Browse files Browse the repository at this point in the history
don't use `orb/public`

was not causing issues so far but zephyr_module.py changed and isn't
able to find the project repo for zephyr.meta generation

it's important to note that this is only when the repo is used alone,
without it's `private` counterpart.

Signed-off-by: Cyril Fougeray <[email protected]>
  • Loading branch information
fouge committed Dec 13, 2024
1 parent 9d004fc commit 99fe9f2
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/zephyr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,21 @@ jobs:
- name: Generate temporary signing keys locally
run: cd ${{ github.job }}/orb/utils/ota/ && ./generate_dev_keys
- name: Build app
run: cd ${{ github.job }} && west build ${APP_PATH} -d ${APP_PATH}/build -b ${BOARD} -p -- -DCMAKE_BUILD_TYPE="Release" -DEXTRA_COMPILE_FLAGS=-Werror -DBUILD_FROM_CI=1
run: |
cd ${{ github.job }}
PROJ_DIR=$(dirname $(west manifest --path))
west build ${APP_PATH} -d ${APP_PATH}/build -b ${BOARD} -p -- \
-DCMAKE_BUILD_TYPE="Release" \
-DEXTRA_COMPILE_FLAGS=-Werror \
-DBUILD_FROM_CI=1 \
-DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\"${PROJ_DIR}/utils/ota/root-ec-p256.pem\" \
-DCONFIG_MCUBOOT_ENCRYPTION_KEY_FILE=\"${PROJ_DIR}/utils/ota/enc-ec256-pub.pem\"
- name: Build bootloader
run: cd ${{ github.job }} && west build orb/bootloader -d orb/bootloader/build -b ${BOARD} -p -- -DCMAKE_BUILD_TYPE="Release" -DBUILD_FROM_CI=1
run: |
cd ${{ github.job }}
PROJ_DIR=$(dirname $(west manifest --path))
ENC_KEY_FILE="${PROJ_DIR}/utils/ota/enc-ec256-pub.pem"
west build orb/bootloader -d orb/bootloader/build -b ${BOARD} -p -- \
-DCMAKE_BUILD_TYPE="Release" \
-DBUILD_FROM_CI=1 \
-DCONFIG_BOOT_SIGNATURE_KEY_FILE=\"${PROJ_DIR}/utils/ota/root-ec-p256.pem\"

0 comments on commit 99fe9f2

Please sign in to comment.