@@ -3,14 +3,14 @@ name: Build
33on :
44 push :
55 branches :
6- - " flutter-*-tizen"
6+ - flutter-*-tizen
77 pull_request :
88
99jobs :
1010 build :
1111 runs-on : ubuntu-latest
1212 container :
13- image : ghcr.io/${{ github.repository_owner }}/build-engine :latest
13+ image : ghcr.io/flutter-tizen/tizen-tools :latest
1414 credentials :
1515 username : ${{ github.repository_owner }}
1616 password : ${{ secrets.GITHUB_TOKEN }}
4848 restore-keys : |
4949 out-build-${{ env.OUTPUT_NAME }}-
5050
51+ - name : install depot_tools
52+ run : |
53+ git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools.git
54+ echo "$PWD/depot_tools" >> $GITHUB_PATH
55+
5156 - name : gclient sync
5257 run : |
53- src/flutter/ci/tizen/gclient-prepare-sync.sh --reduce-deps --shallow-sync
58+ gclient config --name=src/flutter --unmanaged https://github.com/flutter-tizen/engine
59+ gclient setdep --var=download_android_deps=False --deps-file=src/flutter/DEPS
60+ sed -i -e '/src\/ios_tools/,+2d' src/flutter/DEPS
61+ sed -i -e '/src\/third_party\/angle/,+2d' src/flutter/DEPS
62+ sed -i -e '/src\/fuchsia\/sdk/,+9d' src/flutter/DEPS
63+ PYTHONPATH="$PWD/depot_tools" python3 src/flutter/ci/tizen/gclient-shallow-sync.py src/flutter/DEPS
5464 gclient sync -v --no-history --shallow
5565
5666 - name : verify formatting
@@ -121,7 +131,7 @@ jobs:
121131 if-no-files-found : error
122132
123133 - uses : actions/upload-artifact@v3
124- if : (matrix.arch == 'arm' || matrix.arch == 'arm64') && matrix.mode != 'debug'
134+ if : matrix.mode != 'debug'
125135 with :
126136 name : tizen-${{ matrix.arch }}-${{ matrix.mode }}_linux-x64
127137 path : src/out/${{ env.OUTPUT_NAME }}/clang_x64/gen_snapshot
@@ -211,12 +221,11 @@ jobs:
211221
212222 - name : install depot_tools
213223 run : |
214- git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
224+ git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools.git
215225 echo "$PWD/depot_tools" >> $GITHUB_PATH
216226
217227 - name : install required packages
218- run : |
219- brew install md5sha1sum
228+ run : brew install md5sha1sum
220229
221230 - name : gclient sync
222231 run : |
@@ -276,11 +285,9 @@ jobs:
276285 name : tizen-arm-unittests
277286
278287 - name : run unittests
279- env :
280- IMAGE_TAG : ghcr.io/${{ github.repository_owner }}/tizen-headed-armv7l
281288 run : |
282289 chmod +x flutter_tizen_unittests
283- docker run --rm -t -v `pwd` :/root ${IMAGE_TAG} /root/flutter_tizen_unittests
290+ docker run --rm -t -v $PWD :/root ghcr.io/flutter-tizen/tizen-headed-armv7l /root/flutter_tizen_unittests
284291
285292 release :
286293 needs : [windows-build, macos-build, test]
0 commit comments