Some checks failed
Basic Checks / license-check (push) Has been cancelled
Basic Checks / include-check (push) Has been cancelled
Basic Checks / style-check (push) Has been cancelled
Basic Checks / docs-check (push) Has been cancelled
Basic Checks / python-tests (push) Has been cancelled
Basic Checks / pin-validation (push) Has been cancelled
Basic Checks / cmake-checks (push) Has been cancelled
Basic Checks / frozen-tools-check (push) Has been cancelled
Publish or Update docker image for head of branch / prepare-tags (push) Has been cancelled
Release or update docker image for a released mbed-os version / prepare-tags (push) Has been cancelled
Publish or Update docker image for head of branch / build-container (push) Has been cancelled
Publish or Update docker image for head of branch / test-container (linux/amd64) (push) Has been cancelled
Publish or Update docker image for head of branch / test-container (linux/arm64) (push) Has been cancelled
Publish or Update docker image for head of branch / deploy-container (push) Has been cancelled
Release or update docker image for a released mbed-os version / build-container (push) Has been cancelled
Release or update docker image for a released mbed-os version / test-container (linux/amd64) (push) Has been cancelled
Release or update docker image for a released mbed-os version / test-container (linux/arm64) (push) Has been cancelled
Release or update docker image for a released mbed-os version / deploy-container (push) Has been cancelled
Prune temporary docker images / prune-images (push) Has been cancelled
29 lines
1.1 KiB
YAML
29 lines
1.1 KiB
YAML
name: test building multiple executables with CMake
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
multiple-executables-example:
|
|
runs-on: ubuntu-latest
|
|
container: ghcr.io/armmbed/mbed-os-env:master-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build the multiple_executables example
|
|
run: |
|
|
mbedtools compile \
|
|
-t GCC_ARM \
|
|
-m ARM_MUSCA_S1 \
|
|
--program-path tools/cmake/tests/multiple_executables/ \
|
|
--mbed-os-path .
|
|
|
|
- name: Verify the post-build command has run successfully on each image
|
|
run: |
|
|
APP1=tools/cmake/tests/multiple_executables/cmake_build/ARM_MUSCA_S1/develop/GCC_ARM/app1/app1.bin
|
|
APP2=tools/cmake/tests/multiple_executables/cmake_build/ARM_MUSCA_S1/develop/GCC_ARM/app2/app2.bin
|
|
BOOTLOADER=targets/TARGET_ARM_SSG/TARGET_MUSCA_S1/bl2.bin
|
|
BOOTLOADER_SIZE=`du -b targets/TARGET_ARM_SSG/TARGET_MUSCA_S1/bl2.bin | cut -f1`
|
|
cmp -n $BOOTLOADER_SIZE $APP1 $BOOTLOADER
|
|
cmp -n $BOOTLOADER_SIZE $APP2 $BOOTLOADER
|