mirror of
https://github.com/espressif/esp32-wifi-lib.git
synced 2025-05-29 06:02:59 +08:00
ci: check git commit (fc2a27d8)
This commit is contained in:
@ -1,6 +1,33 @@
|
||||
stages:
|
||||
- check
|
||||
- deploy
|
||||
|
||||
check_lib_reversion:
|
||||
stage: check
|
||||
except:
|
||||
- master
|
||||
- /^release\/v/
|
||||
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
||||
script:
|
||||
- GIT_COMMIT_ID=`git log --pretty="%s" -1 | grep -o '([0-9a-f]*)' | tail -1 | cut -c 2-8`
|
||||
- echo "GIT_COMMIT_ID is "$GIT_COMMIT_ID
|
||||
- test $(echo -n $GIT_COMMIT_ID | wc -c) -eq 7
|
||||
- grep $GIT_COMMIT_ID libcoexist.a
|
||||
- grep $GIT_COMMIT_ID libcore.a
|
||||
- grep $GIT_COMMIT_ID libespnow.a
|
||||
- grep $GIT_COMMIT_ID libespnow.a
|
||||
- grep $GIT_COMMIT_ID libnet80211.a
|
||||
- grep $GIT_COMMIT_ID libpp.a
|
||||
- grep $GIT_COMMIT_ID libsmartconfig.a
|
||||
- grep $GIT_COMMIT_ID-remote libnet80211.a
|
||||
- test $(grep $GIT_COMMIT_ID-dirty *.a | wc -l) -eq 0
|
||||
- test $(xtensa-esp32-elf-nm *.a | grep -w printf | wc -l) -eq 0
|
||||
- test $(xtensa-esp32-elf-nm *.a | grep -w ets_printf | wc -l) -eq 0
|
||||
- if [ -e libwps.a ]; then exit 1; fi
|
||||
- if [ -e libwpa.a ]; then exit 1; fi
|
||||
- if [ -e libwpa2.a ]; then exit 1; fi
|
||||
|
||||
|
||||
push_master_to_github:
|
||||
stage: deploy
|
||||
only:
|
||||
|
BIN
libcoexist.a
BIN
libcoexist.a
Binary file not shown.
BIN
libespnow.a
BIN
libespnow.a
Binary file not shown.
BIN
libnet80211.a
BIN
libnet80211.a
Binary file not shown.
BIN
libsmartconfig.a
BIN
libsmartconfig.a
Binary file not shown.
Reference in New Issue
Block a user