translation: Translate strings.xml in pt_BR [Manual Sync] #1775
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: Android Build CI | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| - '!master' | |
| - '!release/*' | |
| concurrency: | |
| group: build-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check_spotless: | |
| name: Check spotless | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: "temurin" | |
| java-version: 17 | |
| - name: Set up NDK | |
| uses: nttld/setup-ndk@afb4c9964b521afb97c864b7d40b11e6911bd410 | |
| with: | |
| ndk-version: r28c | |
| link-to-sdk: true | |
| local-cache: true | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: stable | |
| - name: Cache Rust dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/bin/ | |
| ~/.cargo/registry/index/ | |
| ~/.cargo/registry/cache/ | |
| ~/.cargo/git/db/ | |
| file_operations/target/ | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-cargo- | |
| - name: Setup Rust for Android | |
| run: | | |
| cd file_operations | |
| chmod +x setup_rust_android.sh | |
| ./setup_rust_android.sh | |
| - name: Verify Rust setup | |
| run: | | |
| cd file_operations | |
| echo "π Verifying Rust Android targets..." | |
| rustup target list --installed | grep android || echo "No Android targets found" | |
| echo "π Verifying cargo configuration..." | |
| if [ -f .cargo/config.toml ]; then | |
| echo "β .cargo/config.toml exists" | |
| else | |
| echo "β .cargo/config.toml missing" | |
| exit 1 | |
| fi | |
| - name: Check formatting using spotless | |
| uses: gradle/actions/setup-gradle@v3 | |
| with: | |
| arguments: spotlessCheck --stacktrace | |
| build: | |
| name: Build debug | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: "temurin" | |
| java-version: 17 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: stable | |
| - name: Cache Rust dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/bin/ | |
| ~/.cargo/registry/index/ | |
| ~/.cargo/registry/cache/ | |
| ~/.cargo/git/db/ | |
| file_operations/target/ | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-cargo- | |
| - name: Setup Rust for Android | |
| run: | | |
| cd file_operations | |
| chmod +x setup_rust_android.sh | |
| ./setup_rust_android.sh | |
| - name: Verify Rust setup | |
| run: | | |
| cd file_operations | |
| echo "π Verifying Rust Android targets..." | |
| rustup target list --installed | grep android || echo "No Android targets found" | |
| echo "π Verifying cargo configuration..." | |
| if [ -f .cargo/config.toml ]; then | |
| echo "β .cargo/config.toml exists" | |
| else | |
| echo "β .cargo/config.toml missing" | |
| exit 1 | |
| fi | |
| - name: Build with Gradle | |
| uses: gradle/actions/setup-gradle@v3 | |
| with: | |
| arguments: assembledebug --stacktrace |