Reland Fix possible invalid measurements when width or height is zero… #2748
This file contains hidden or 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 Android | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - 'release-*' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build [${{ matrix.os }}][${{ matrix.mode }}] | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| mode: [Debug, Release] | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup | |
| uses: ./.github/actions/setup-android | |
| - name: Build | |
| run: ./gradlew assemble${{ matrix.mode }} --stacktrace |