Feature: update ci
This commit is contained in:
parent
a995349ee7
commit
fa5b7b4dfe
@ -15,6 +15,7 @@ install:
|
||||
- wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz
|
||||
- tar -zxvf GeoLite2-Country.tar.gz
|
||||
- mv GeoLite2-Country_*/GeoLite2-Country.mmdb ./ClashX/Support\ Files/Country.mmdb
|
||||
- mkdir -p ClashX/Resources
|
||||
- cd ClashX/Resources
|
||||
- git clone -b gh-pages https://github.com/Dreamacro/clash-dashboard.git dashboard
|
||||
- cd ..
|
||||
@ -26,7 +27,13 @@ install:
|
||||
|
||||
script:
|
||||
- 'xcodebuild -workspace ClashX.xcworkspace -scheme "ClashX" build CODE_SIGN_IDENTITY="Developer
|
||||
ID Application: Fuzhou West2Online Internet Inc. (MEWHFZ92DY)"| xcpretty'
|
||||
ID Application: Fuzhou West2Online Internet Inc. (MEWHFZ92DY)"'
|
||||
|
||||
- echo "Checking SMJobBless Vailded"
|
||||
- build_dir=`xcodebuild -workspace ClashX.xcworkspace -scheme "ClashX" -showBuildSettings -configuration Debug | grep -m 1 "TARGET_BUILD_DIR" | grep -oEi "\/.*"`
|
||||
- build_dir=${build_dir}"/ClashX.app"
|
||||
- python SMJobBlessUtil.py check ${build_dir}
|
||||
- echo "Check completed"
|
||||
|
||||
before_deploy:
|
||||
- gem install gym
|
||||
|
Loading…
Reference in New Issue
Block a user