# Github CI integration build fails for microbit makecode extension using mbed.h file

**URL:** https://forum.makecode.com/t/github-ci-integration-build-fails-for-microbit-makecode-extension-using-mbed-h-file/4014
**Category:** micro:bit
**Created:** [October 22, 2020, 8:07am UTC](https://forum.makecode.com/t/github-ci-integration-build-fails-for-microbit-makecode-extension-using-mbed-h-file/4014 "2020-10-22T08:07:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![KalbeAbbas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kalbeabbas/32/560_2.png) [@KalbeAbbas](https://forum.makecode.com/u/KalbeAbbas)
#### Post date: [October 22, 2020, 8:07am UTC](https://forum.makecode.com/t/github-ci-integration-build-fails-for-microbit-makecode-extension-using-mbed-h-file/4014/1 "2020-10-22T08:07:02Z")

</div>

Hi, we at XinaBox has developed extension for SD card which uses .cpp files, the extension is dependent of mbed libraries. The extension works fine in online [microbit.makecode.com](http://microbit.makecode.com) editor, but the build fails in Github CI. The extension also builds fine when built locally using command line.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/5/56c6768cc70532502fe375e3100a27645dd1d01b.png)

Complete build: [https://github.com/xinabox/pxt-IM01/runs/1278270783?check\_suite\_focus=true](https://github.com/xinabox/pxt-IM01/runs/1278270783?check_suite_focus=true)

---

<div class="post-metadata">

### Author: ![KalbeAbbas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kalbeabbas/32/560_2.png) [@KalbeAbbas](https://forum.makecode.com/u/KalbeAbbas)
#### Post date: [November 2, 2020, 11:53am UTC](https://forum.makecode.com/t/github-ci-integration-build-fails-for-microbit-makecode-extension-using-mbed-h-file/4014/2 "2020-11-02T11:53:05Z")

</div>

Seems that the error comes after pxt-micorbit version 3.0.22. Please can someone confirm if pxt-microbit has removed “mbed.h” file after the version 3.0.22. Many thanks

---

<div class="post-metadata">

### Author: ![bsiever](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bsiever/32/1032_2.png) [@bsiever](https://forum.makecode.com/u/bsiever)
#### Post date: [November 2, 2020, 12:41pm UTC](https://forum.makecode.com/t/github-ci-integration-build-fails-for-microbit-makecode-extension-using-mbed-h-file/4014/3 "2020-11-02T12:41:45Z")

</div>

Is that the same as: [https://github.com/microsoft/pxt-microbit/issues/3506](https://github.com/microsoft/pxt-microbit/issues/3506) ?

---

<div class="post-metadata">

### Author: ![KalbeAbbas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kalbeabbas/32/560_2.png) [@KalbeAbbas](https://forum.makecode.com/u/KalbeAbbas)
#### Post date: [November 2, 2020, 1:26pm UTC](https://forum.makecode.com/t/github-ci-integration-build-fails-for-microbit-makecode-extension-using-mbed-h-file/4014/4 "2020-11-02T13:26:38Z")

</div>

I am not sure, but I can say that our other extensions using cpp files are building fine. This particular one is causing trouble due to “mbed” cpp files added.
