mirror of https://github.com/OpenIPC/firmware.git
Add CI build checks for ensure PRs don't break anything (#410)
parent
a58da4c366
commit
8d06e76b16
|
@ -468,3 +468,17 @@ jobs:
|
|||
TG_HEADER=$(echo -e "\r\nCommit: $GIT_HASH \r\nBranch: $BRANCH \r\nTag: $TAG_NAME \r\n\r\n\xE2\x9C\x85 GitHub Actions")
|
||||
curl $TG_OPTIONS -H "Content-Type: multipart/form-data" -X POST https://api.telegram.org/bot$TG_TOKEN/sendDocument \
|
||||
-F chat_id=$TG_CHANNEL -F document="@$NORFW_PATH" -F caption="$TG_HEADER"
|
||||
|
||||
ci-build-check:
|
||||
if: always() && github.event.pull_request
|
||||
runs-on: ubuntu-latest
|
||||
name: CI Build Check
|
||||
needs: [buildroot]
|
||||
steps:
|
||||
- run: |
|
||||
result="${{ needs.buildroot.result }}"
|
||||
if [[ $result == "success" || $result == "skipped" ]]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
|
4
Makefile
4
Makefile
|
@ -48,7 +48,9 @@ clean:
|
|||
|
||||
prepare: $(BR_DIR)
|
||||
$(ROOT_DIR)/buildroot-$(BR_VER).tar.gz:
|
||||
wget -O $@ --header="Host: buildroot.org" --no-check-certificate https://buildroot.org/downloads/buildroot-$(BR_VER).tar.gz
|
||||
wget -O $@ -nv \
|
||||
--retry-connrefused --continue --timeout=15 \
|
||||
http://buildroot.org/downloads/buildroot-$(BR_VER).tar.gz
|
||||
|
||||
$(BR_DIR): $(ROOT_DIR)/buildroot-$(BR_VER).tar.gz
|
||||
tar -C $(ROOT_DIR) -xf buildroot-$(BR_VER).tar.gz
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../../../../../patches/linux/3.10.x/gcc8_err_encountered.patch
|
Loading…
Reference in New Issue