Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/android-apk-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ jobs:
SCCACHE_REGION: auto
SCCACHE_S3_USE_SSL: "true"
SCCACHE_S3_KEY_PREFIX: ci/android
SCCACHE_LOG: info
SCCACHE_ERROR_LOG: ${{ runner.temp }}/sccache-android.log
AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_R2_SECRET_ACCESS_KEY }}

Expand Down Expand Up @@ -170,6 +172,12 @@ jobs:
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.9

- name: Prime sccache
run: |
sccache --stop-server || true
sccache --start-server
sccache --show-stats || true

- name: Download shared prep artifact
uses: actions/download-artifact@v4
with:
Expand All @@ -190,7 +198,9 @@ jobs:
touch .build-stamps/sync .build-stamps/bindings-kotlin

- name: Install cargo-ndk
run: cargo install cargo-ndk
env:
RUSTC_WRAPPER: sccache
run: cargo install cargo-ndk --locked

- name: Build Rust JNI libs
env:
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/android-play-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ jobs:
SCCACHE_REGION: auto
SCCACHE_S3_USE_SSL: "true"
SCCACHE_S3_KEY_PREFIX: ci/android
SCCACHE_LOG: info
SCCACHE_ERROR_LOG: ${{ runner.temp }}/sccache-android.log
AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_R2_SECRET_ACCESS_KEY }}

Expand Down Expand Up @@ -149,6 +151,12 @@ jobs:
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.9

- name: Prime sccache
run: |
sccache --stop-server || true
sccache --start-server
sccache --show-stats || true

- name: Download shared prep artifact
uses: actions/download-artifact@v4
with:
Expand All @@ -169,7 +177,9 @@ jobs:
touch .build-stamps/sync .build-stamps/bindings-kotlin

- name: Install cargo-ndk
run: cargo install cargo-ndk
env:
RUSTC_WRAPPER: sccache
run: cargo install cargo-ndk --locked

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
Expand Down Expand Up @@ -205,7 +215,10 @@ jobs:
LITTER_PLAY_SERVICE_ACCOUNT_JSON: ${{ runner.temp }}/play-service-account.json
LITTER_PLAY_TRACK: internal
LITTER_VERSION_CODE_OVERRIDE: ${{ env.LITTER_VERSION_CODE_OVERRIDE }}
run: make play-release
run: |
set -euo pipefail
trap 'status=$?; echo "==> sccache stats"; sccache --show-stats || true; if [ -f "$SCCACHE_ERROR_LOG" ]; then echo "==> sccache error log"; tail -200 "$SCCACHE_ERROR_LOG" || true; fi; exit $status' EXIT
make play-release

- name: Generate checksums
run: |
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/ios-testflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
SCCACHE_REGION: auto
SCCACHE_S3_USE_SSL: "true"
SCCACHE_S3_KEY_PREFIX: ci/ios
SCCACHE_LOG: info
SCCACHE_ERROR_LOG: ${{ runner.temp }}/sccache-ios.log
AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_R2_SECRET_ACCESS_KEY }}

Expand Down Expand Up @@ -83,6 +85,12 @@ jobs:
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.9

- name: Prime sccache
run: |
sccache --stop-server || true
sccache --start-server
sccache --show-stats || true

- name: Decode App Store Connect API key
env:
ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }}
Expand Down Expand Up @@ -165,4 +173,7 @@ jobs:
MARKETING_VERSION: ${{ env.MARKETING_VERSION }}
BETA_GROUP_NAMES: ${{ env.BETA_GROUP_NAMES }}
WAIT_FOR_PROCESSING: ${{ env.WAIT_FOR_PROCESSING }}
run: make testflight
run: |
set -euo pipefail
trap 'status=$?; echo "==> sccache stats"; sccache --show-stats || true; if [ -f "$SCCACHE_ERROR_LOG" ]; then echo "==> sccache error log"; tail -200 "$SCCACHE_ERROR_LOG" || true; fi; exit $status' EXIT
make testflight
4 changes: 3 additions & 1 deletion .github/workflows/mobile-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ jobs:
touch .build-stamps/sync .build-stamps/bindings-kotlin

- name: Install cargo-ndk
run: cargo install cargo-ndk
env:
RUSTC_WRAPPER: sccache
run: cargo install cargo-ndk --locked

- name: Build Rust JNI libs
env:
Expand Down
30 changes: 27 additions & 3 deletions .github/workflows/mobile-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ jobs:
SCCACHE_REGION: auto
SCCACHE_S3_USE_SSL: "true"
SCCACHE_S3_KEY_PREFIX: ci/android
SCCACHE_LOG: info
SCCACHE_ERROR_LOG: ${{ runner.temp }}/sccache-android.log
AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_R2_SECRET_ACCESS_KEY }}

Expand Down Expand Up @@ -255,6 +257,12 @@ jobs:
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.9

- name: Prime sccache
run: |
sccache --stop-server || true
sccache --start-server
sccache --show-stats || true

- name: Download shared prep artifact
uses: actions/download-artifact@v4
with:
Expand All @@ -275,7 +283,9 @@ jobs:
touch .build-stamps/sync .build-stamps/bindings-kotlin

- name: Install cargo-ndk
run: cargo install cargo-ndk
env:
RUSTC_WRAPPER: sccache
run: cargo install cargo-ndk --locked

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
Expand Down Expand Up @@ -311,7 +321,10 @@ jobs:
LITTER_PLAY_SERVICE_ACCOUNT_JSON: ${{ runner.temp }}/play-service-account.json
LITTER_PLAY_TRACK: internal
LITTER_VERSION_CODE_OVERRIDE: ${{ env.LITTER_VERSION_CODE_OVERRIDE }}
run: make play-release
run: |
set -euo pipefail
trap 'status=$?; echo "==> sccache stats"; sccache --show-stats || true; if [ -f "$SCCACHE_ERROR_LOG" ]; then echo "==> sccache error log"; tail -200 "$SCCACHE_ERROR_LOG" || true; fi; exit $status' EXIT
make play-release

- name: Generate checksums
run: |
Expand Down Expand Up @@ -345,6 +358,8 @@ jobs:
SCCACHE_REGION: auto
SCCACHE_S3_USE_SSL: "true"
SCCACHE_S3_KEY_PREFIX: ci/ios
SCCACHE_LOG: info
SCCACHE_ERROR_LOG: ${{ runner.temp }}/sccache-ios.log
AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_R2_SECRET_ACCESS_KEY }}

Expand Down Expand Up @@ -399,6 +414,12 @@ jobs:
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.9

- name: Prime sccache
run: |
sccache --stop-server || true
sccache --start-server
sccache --show-stats || true

- name: Download shared prep artifact
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -486,4 +507,7 @@ jobs:
MARKETING_VERSION: ${{ env.MARKETING_VERSION }}
BETA_GROUP_NAMES: ${{ env.BETA_GROUP_NAMES }}
WAIT_FOR_PROCESSING: ${{ env.WAIT_FOR_PROCESSING }}
run: make testflight
run: |
set -euo pipefail
trap 'status=$?; echo "==> sccache stats"; sccache --show-stats || true; if [ -f "$SCCACHE_ERROR_LOG" ]; then echo "==> sccache error log"; tail -200 "$SCCACHE_ERROR_LOG" || true; fi; exit $status' EXIT
make testflight
Loading