ci: use esp8266 mock framework

Resolve the issue with the UnixHostDuino not really being compatible
with the esp8266 Core String (...and the rest of the Core, as well)

Port the CMakeLists.txt from the rpnlib and update it use FetchContent
instead of either manually fetching dependencies or using PIO artifacts
Caching is *expected* to work, but might need slight adjustments
This commit is contained in:
Maxim Prokhorov
2022-01-13 03:59:39 +03:00
parent 594763e349
commit eaa2e370eb
17 changed files with 545 additions and 177 deletions

View File

@@ -0,0 +1,16 @@
#include <unity.h>
#include <Arduino.h>
// Ensure build system works
// ref: https://github.com/bxparks/UnixHostDuino/pull/6
void test_linkage() {
pinMode(0, INPUT);
pinMode(0, OUTPUT);
}
int main(int, char**) {
UNITY_BEGIN();
RUN_TEST(test_linkage);
return UNITY_END();
}