[android] Asynchronously destroy MediaCodecBridge #11149
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
push: | |
branches: | |
- main | |
- feature/* | |
concurrency: | |
group: '${{ github.workflow }}-${{ github.event_name }}-${{ inputs.platform }} @ ${{ github.event.pull_request.number || github.sha }}' | |
cancel-in-progress: true | |
permissions: {} | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install clang-format Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libncurses5 | |
- name: Download GN via CIPD | |
env: | |
GN_SHA256SUM: 'af7b2dcb3905bca56655e12131b365f1cba8e159db80d2022330c4f522fab2ef /tmp/gn.zip' | |
GN_HASH: r3styzkFvKVmVeEhMbNl8cuo4VnbgNICIzDE9SL6su8C | |
run: | | |
set -e -x | |
curl --location --silent --output /tmp/gn.zip "https://chrome-infra-packages.appspot.com/dl/gn/gn/linux-amd64/+/${GN_HASH}" | |
echo ${GN_SHA256SUM} | sha256sum --check | |
unzip /tmp/gn.zip -d /usr/local/bin | |
rm /tmp/gn.zip | |
- name: Checkout | |
uses: kaidokert/[email protected] | |
timeout-minutes: 30 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.7' | |
- name: Install Pip Packages | |
run: pip install -r ${GITHUB_WORKSPACE}/requirements.txt | |
- name: Download Resources | |
run: python ${GITHUB_WORKSPACE}/download_resources.py | |
- name: pre-commit | |
uses: ./.github/actions/pre_commit | |
with: | |
base_ref: ${{ github.event.pull_request.base.sha && github.event.pull_request.base.sha || github.event.before }} | |
check-bug-id: | |
name: Check Bug ID | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Bug ID Present | |
# v2 | |
uses: gsactions/commit-message-checker@16fa2d5de096ae0d35626443bcd24f1e756cafee | |
with: | |
accessToken: ${{ secrets.GITHUB_TOKEN }} | |
pattern: '(b\/\d+|^(Bug|Fixed|Issue): \d+$)' | |
flags: 'gm' | |
error: 'PR title or description should include at least one bug ID.' |