Skip to content
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

Add library CI support #2434

Merged
merged 7 commits into from
Nov 30, 2021
Merged

Add library CI support #2434

merged 7 commits into from
Nov 30, 2021

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Nov 27, 2021

This PR provides an appveyor script and makefile to support standalone integration testing for libraries.

It builds all samples and tests against the Sming develop branch from the source repository.
This takes considerably less time and consumes less CI resource than a full Sming CI build, which may not be necessary.

See Tools/ci/library/README.rst for details.

Example run https://ci.appveyor.com/project/mikee47/FlashString/history

@slaff
Copy link
Contributor

slaff commented Nov 29, 2021

The Basic_NFC sample stopped compiling for Esp32 architectures.

A fatal error occurred: Segment loaded at 0x4200ca6e lands in same 64KB flash mapping as segment loaded at 0x42000020. Can't generate binary. Suggest changing linker script or ELF to merge sections.
make[2]: *** [/home/appveyor/projects/sming-sb483/Sming/Arch/Esp32/app.mk:28: out/Esp32/esp32c3/debug/firmware/app.bin] Error 2
make[1]: *** [/home/appveyor/projects/sming-sb483/Sming/project.mk:22: all] Error 2
make: *** [Makefile:121: /home/appveyor/projects/samples/Basic_NFC/.esp32c3.built] Error 2
Command exited 

Can you take a look at the failing tests in appveyor?

@mikee47
Copy link
Contributor Author

mikee47 commented Nov 29, 2021

The Basic_NFC sample stopped compiling for Esp32 architectures.

I broke it in #2429 when introducing setenv.ps1, used dev branch for esp idf instead of release.

@slaff slaff merged commit a3c15ab into SmingHub:develop Nov 30, 2021
@mikee47 mikee47 deleted the feature/library-ci branch November 30, 2021 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants