fix: Fix loading TFLite models from Resources in release on Android #36
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: Validate C++ | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/validate-cpp.yml' | |
- 'cpp/**' | |
- 'android/src/main/cpp/**' | |
- 'ios/**' | |
pull_request: | |
paths: | |
- '.github/workflows/validate-cpp.yml' | |
- 'cpp/**' | |
- 'android/src/main/cpp/**' | |
- 'ios/**' | |
jobs: | |
lint: | |
name: Check clang-format | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
path: | |
- 'cpp' | |
- 'android/src/main/cpp' | |
- 'ios' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Remove lib folders before linting | |
run: | | |
rm -rf ios/*.framework | |
rm -rf android/src/main/cpp/lib | |
- name: Run clang-format style check | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '16' | |
check-path: ${{ matrix.path }} | |