Skip to content

CircleCI: Tests against more Mbed OS releases #779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 45 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,28 @@ jobs:
- run: cd .tests/bld-test && mbed update --clean
- run: cd .tests/bld-test && mbed compile -m LPC1768 -j 0
- run: cd .tests && mbed new supported-tests
- run: |-
cd .tests/supported-tests
echo "Testing mbed-os-5.10.2"
cd mbed-os
mbed update --clean --clean-files "mbed-os-5.10.2"
mbed compile --supported
mbed compile --config --prefix mbed
mbed toolchain --supported
mbed target --supported
mbed export --supported
mbed test --compile-list
- run: |-
cd .tests/supported-tests
echo "Testing mbed-os-5.9.6"
cd mbed-os
mbed update --clean --clean-files "mbed-os-5.9.6"
mbed compile --supported
mbed compile --config --prefix mbed
mbed toolchain --supported
mbed target --supported
mbed export --supported
mbed test --compile-list
- run: |-
cd .tests/supported-tests
echo "Testing mbed-os-5.8.5"
Expand Down Expand Up @@ -144,14 +166,34 @@ jobs:

- run: mkdir .tests
- run: cd .tests && mbed new new-test
- run: |-
cd .tests/new-test/mbed-os
git checkout mbed-os-5.9.0
- run: cd .tests/new-test && mbed ls
- run: cd .tests/new-test && mbed releases -r
- run: cd .tests/new-test && mbed compile --source=. --source=mbed-os/TESTS/integration/basic -j 0
- run: cd .tests/new-test && mbed test --compile -n mbed-os-tests-integration-basic -j 0

- run: |-
cd .tests/supported-tests
echo "Testing mbed-os-5.10.2"
cd mbed-os
mbed update --clean --clean-files "mbed-os-5.10.2"
mbed compile --supported
mbed compile --config --prefix mbed
mbed toolchain --supported
mbed target --supported
mbed export --supported
mbed test --compile-list
- run: |-
cd .tests/supported-tests
echo "Testing mbed-os-5.9.6"
cd mbed-os
mbed update --clean --clean-files "mbed-os-5.9.6"
mbed compile --supported
mbed compile --config --prefix mbed
mbed toolchain --supported
mbed target --supported
mbed export --supported
mbed test --compile-list

workflows:
version: 2
build:
Expand Down