Skip to content

Commit

Permalink
[ci] Remove build-docker.yml and clean up (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-kim authored Oct 20, 2022
1 parent 87e3e3b commit d24cab5
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 166 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/build-docker.yml

This file was deleted.

27 changes: 17 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Build
on:
push:
branches:
- "flutter-*-tizen"
- flutter-*-tizen
pull_request:

jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository_owner }}/build-engine:latest
image: ghcr.io/flutter-tizen/tizen-tools:latest
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -48,9 +48,19 @@ jobs:
restore-keys: |
out-build-${{ env.OUTPUT_NAME }}-
- name: install depot_tools
run: |
git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools.git
echo "$PWD/depot_tools" >> $GITHUB_PATH
- name: gclient sync
run: |
src/flutter/ci/tizen/gclient-prepare-sync.sh --reduce-deps --shallow-sync
gclient config --name=src/flutter --unmanaged https://github.com/flutter-tizen/engine
gclient setdep --var=download_android_deps=False --deps-file=src/flutter/DEPS
sed -i -e '/src\/ios_tools/,+2d' src/flutter/DEPS
sed -i -e '/src\/third_party\/angle/,+2d' src/flutter/DEPS
sed -i -e '/src\/fuchsia\/sdk/,+9d' src/flutter/DEPS
PYTHONPATH="$PWD/depot_tools" python3 src/flutter/ci/tizen/gclient-shallow-sync.py src/flutter/DEPS
gclient sync -v --no-history --shallow
- name: verify formatting
Expand Down Expand Up @@ -121,7 +131,7 @@ jobs:
if-no-files-found: error

- uses: actions/upload-artifact@v3
if: (matrix.arch == 'arm' || matrix.arch == 'arm64') && matrix.mode != 'debug'
if: matrix.mode != 'debug'
with:
name: tizen-${{ matrix.arch }}-${{ matrix.mode }}_linux-x64
path: src/out/${{ env.OUTPUT_NAME }}/clang_x64/gen_snapshot
Expand Down Expand Up @@ -211,12 +221,11 @@ jobs:
- name: install depot_tools
run: |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools.git
echo "$PWD/depot_tools" >> $GITHUB_PATH
- name: install required packages
run: |
brew install md5sha1sum
run: brew install md5sha1sum

- name: gclient sync
run: |
Expand Down Expand Up @@ -276,11 +285,9 @@ jobs:
name: tizen-arm-unittests

- name: run unittests
env:
IMAGE_TAG: ghcr.io/${{ github.repository_owner }}/tizen-headed-armv7l
run: |
chmod +x flutter_tizen_unittests
docker run --rm -t -v `pwd`:/root ${IMAGE_TAG} /root/flutter_tizen_unittests
docker run --rm -t -v $PWD:/root ghcr.io/flutter-tizen/tizen-headed-armv7l /root/flutter_tizen_unittests
release:
needs: [windows-build, macos-build, test]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-symbol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:

steps:
- uses: actions/checkout@v3

- uses: actions/checkout@v3
with:
repository: flutter-tizen/tizen_allowlist
Expand Down
12 changes: 0 additions & 12 deletions ci/tizen/docker/Dockerfile

This file was deleted.

6 changes: 0 additions & 6 deletions ci/tizen/docker/build-docker.sh

This file was deleted.

87 changes: 0 additions & 87 deletions ci/tizen/gclient-prepare-sync.sh

This file was deleted.

0 comments on commit d24cab5

Please sign in to comment.