Skip to content

Support EmbedderExternalTextureGL for impeller #232

Support EmbedderExternalTextureGL for impeller

Support EmbedderExternalTextureGL for impeller #232

Workflow file for this run

name: Analyze
on: [push, pull_request]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: src
- 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: Run gclient sync
run: |
gclient config --name=src --unmanaged https://github.com/${{ github.repository }}
gclient sync -v --no-history --shallow --nohooks
- name: Verify C/C++ formatting
working-directory: src
run: |
FILES=$(git ls-files -- '*.h' '*.cc' '*.cpp' | grep -v /third_party/)
third_party/clang/bin/clang-format --style=file --dry-run --Werror $FILES
- name: Verify GN formatting
working-directory: src
run: |
FILES=$(git ls-files -- '*.gn' '*.gni')
third_party/gn/gn format --dry-run $FILES