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
21 changes: 14 additions & 7 deletions .github/workflows/build-android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
paths:
- '.github/workflows/build-android-release.yml'

permissions:
contents: write

jobs:
build_release:
name: Build Android Example App (release, new architecture)
Expand All @@ -30,15 +33,19 @@ jobs:
run: |
./gradlew clean :app:assembleRelease --no-daemon --no-build-cache

- name: Upload APK artifact
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v7
with:
name: SimpleCamera-Release-Android
path: apps/simple-camera/android/app/build/outputs/apk/release/app-release.apk
retention-days: 7

- name: Upload APK to Release
uses: actions/upload-release-asset@v1
if: ${{ github.event_name == 'release' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: apps/simple-camera/android/app/build/outputs/apk/release/app-release.apk
asset_name: "SimpleCamera-${{ github.event.release.tag_name }}.apk"
asset_content_type: application/vnd.android.package-archive
GH_TOKEN: ${{ github.token }}
run: gh release upload "${GITHUB_REF_NAME}" "apps/simple-camera/android/app/build/outputs/apk/release/app-release.apk#SimpleCamera-${GITHUB_REF_NAME}.apk" --clobber

- name: Stop Gradle Daemon
working-directory: apps/simple-camera/android
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/build-ios-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
paths:
- '.github/workflows/build-ios-release.yml'

permissions:
contents: write

jobs:
build_release:
name: Build iOS Example App (release, new architecture)
Expand All @@ -21,7 +24,7 @@ jobs:
- name: Setup Ruby (bundle)
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.2
ruby-version: 3.4.9
bundler-cache: true
working-directory: apps/simple-camera

Expand Down Expand Up @@ -53,12 +56,16 @@ jobs:
cd apps/simple-camera/ios/build/Build/Products/Release-iphonesimulator
zip -r ../../../../../../../SimpleCamera-Release-Simulator.zip SimpleCamera.app

- name: Upload .app artifact
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v7
with:
name: SimpleCamera-Release-Simulator
path: SimpleCamera-Release-Simulator.zip
retention-days: 7

- name: Upload .app to Release
uses: actions/upload-release-asset@v1
if: ${{ github.event_name == 'release' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: SimpleCamera-Release-Simulator.zip
asset_name: "SimpleCamera-Simulator-${{ github.event.release.tag_name }}.app.zip"
asset_content_type: application/zip
GH_TOKEN: ${{ github.token }}
run: gh release upload "${GITHUB_REF_NAME}" "SimpleCamera-Release-Simulator.zip#SimpleCamera-Simulator-${GITHUB_REF_NAME}.app.zip" --clobber
4 changes: 2 additions & 2 deletions .github/workflows/harness-android-emulator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ jobs:
- uses: oven-sh/setup-bun@v2

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '24'

- name: Setup JDK 17
uses: actions/setup-java@v5
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/harness-aws-device.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:

- id: filter
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: dorny/paths-filter@v3
uses: dorny/paths-filter@v4
with:
filters: |
android:
Expand Down Expand Up @@ -147,9 +147,9 @@ jobs:
- uses: oven-sh/setup-bun@v2

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: "20"
node-version: "24"

- name: Setup JDK 17
uses: actions/setup-java@v5
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
run: test -f ${{ env.HARNESS_ANDROID_APP_BUILD_OUTPUT }}

- name: Upload Android app artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ env.HARNESS_ANDROID_APK_ARTIFACT_NAME }}
path: ${{ env.HARNESS_ANDROID_APP_BUILD_OUTPUT }}
Expand All @@ -217,7 +217,7 @@ jobs:
fetch-depth: 1

- name: Download Android app artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ env.HARNESS_ANDROID_APK_ARTIFACT_NAME }}
path: apps/simple-camera/android/app/build/outputs/apk/debug
Expand Down Expand Up @@ -284,7 +284,7 @@ jobs:

- name: Schedule Device Farm Android Automated Test
id: run-test
uses: aws-actions/aws-devicefarm-mobile-device-testing@v2.3
uses: aws-actions/aws-devicefarm-mobile-device-testing@v3
continue-on-error: true
with:
run-settings-json: |
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
run: bun install --frozen-lockfile

- name: Install Ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@v1.2.23
with:
max-size: 1.5G
key: ${{ runner.os }}-${{ runner.arch }}-xcode${{ env.HARNESS_XCODE_VERSION }}-ccache-harness-ios
Expand All @@ -343,7 +343,7 @@ jobs:
- name: Setup Ruby (bundle)
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.2
ruby-version: 3.4.9
bundler-cache: true
working-directory: apps/simple-camera/

Expand Down Expand Up @@ -453,15 +453,15 @@ jobs:
run: test -f ${{ env.HARNESS_IOS_APP_BUILD_OUTPUT }}

- name: Upload iOS app artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ env.HARNESS_IOS_IPA_ARTIFACT_NAME }}
path: ${{ env.HARNESS_IOS_APP_BUILD_OUTPUT }}
if-no-files-found: error
retention-days: 7

- name: Upload Harness XCTest UI runner IPA
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ env.HARNESS_IOS_HARNESS_XCTEST_RUNNER_IPA_ARTIFACT_NAME }}
path: ${{ env.HARNESS_IOS_HARNESS_XCTEST_RUNNER_IPA_PATH }}
Expand All @@ -482,13 +482,13 @@ jobs:
fetch-depth: 1

- name: Download iOS app artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ env.HARNESS_IOS_IPA_ARTIFACT_NAME }}
path: ${{ env.HARNESS_PROJECT_ROOT }}/ios/build/devicefarm

- name: Download Harness XCTest UI runner IPA artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ env.HARNESS_IOS_HARNESS_XCTEST_RUNNER_IPA_ARTIFACT_NAME }}
path: ${{ env.HARNESS_PROJECT_ROOT }}/ios/build/devicefarm
Expand Down Expand Up @@ -572,7 +572,7 @@ jobs:

- name: Schedule Device Farm iOS Automated Test
id: run-test
uses: aws-actions/aws-devicefarm-mobile-device-testing@v2.3
uses: aws-actions/aws-devicefarm-mobile-device-testing@v3
continue-on-error: true
with:
run-settings-json: |
Expand Down
9 changes: 5 additions & 4 deletions apps/simple-camera/Gemfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
source 'https://rubygems.org'

# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby ">= 2.6.10"
ruby ">= 3.4.9"

# Exclude problematic versions of cocoapods and activesupport that cause build failures.
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
gem 'cocoapods', '>= 1.16.2', '< 1.17'
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
gem 'xcodeproj', '< 1.26.0'
gem 'concurrent-ruby', '< 1.3.4'
gem 'xcodeproj', '>= 1.27.0', '< 2.0'
gem 'concurrent-ruby', '>= 1.3.6', '< 2.0'

# Ruby 3.4.0 has removed some libraries from the standard library.
gem 'bigdecimal'
gem 'logger'
gem 'benchmark'
gem 'mutex_m'
gem 'nkf'
71 changes: 39 additions & 32 deletions apps/simple-camera/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.7)
CFPropertyList (3.0.8)
activesupport (7.2.3.1)
base64
nkf
rexml
activesupport (6.1.7.10)
concurrent-ruby (~> 1.0, >= 1.0.2)
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
logger (>= 1.4.2)
minitest (>= 5.1, < 6)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
addressable (2.9.0)
public_suffix (>= 2.0.2, < 8.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
base64 (0.3.0)
benchmark (0.5.0)
bigdecimal (3.3.1)
bigdecimal (4.1.2)
claide (1.1.0)
cocoapods (1.15.2)
cocoapods (1.16.2)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.15.2)
cocoapods-core (= 1.16.2)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 2.1, < 3.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
Expand All @@ -38,8 +41,8 @@ GEM
molinillo (~> 0.8.0)
nap (~> 1.0)
ruby-macho (>= 2.3.0, < 3.0)
xcodeproj (>= 1.23.0, < 2.0)
cocoapods-core (1.15.2)
xcodeproj (>= 1.27.0, < 2.0)
cocoapods-core (1.16.2)
activesupport (>= 5.0, < 8)
addressable (~> 2.8)
algoliasearch (~> 1.0)
Expand All @@ -59,42 +62,45 @@ GEM
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.6)
connection_pool (3.0.2)
drb (2.2.3)
escape (0.0.4)
ethon (0.15.0)
ethon (0.18.0)
ffi (>= 1.15.0)
ffi (1.17.2)
logger
ffi (1.17.4)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
httpclient (2.9.0)
mutex_m
i18n (1.14.7)
i18n (1.14.8)
concurrent-ruby (~> 1.0)
json (2.7.6)
json (2.19.7)
logger (1.7.0)
minitest (5.25.4)
minitest (5.27.0)
molinillo (0.8.0)
mutex_m (0.3.0)
nanaimo (0.3.0)
nanaimo (0.4.0)
nap (1.1.0)
netrc (0.11.0)
nkf (0.2.0)
public_suffix (4.0.7)
rexml (3.4.4)
ruby-macho (2.5.1)
typhoeus (1.5.0)
ethon (>= 0.9.0, < 0.16.0)
securerandom (0.4.1)
typhoeus (1.6.0)
ethon (>= 0.18.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
xcodeproj (1.25.1)
xcodeproj (1.27.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
nanaimo (~> 0.4.0)
rexml (>= 3.3.6, < 4.0)
zeitwerk (2.6.18)

PLATFORMS
ruby
Expand All @@ -103,14 +109,15 @@ DEPENDENCIES
activesupport (>= 6.1.7.5, != 7.1.0)
benchmark
bigdecimal
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
concurrent-ruby (< 1.3.4)
cocoapods (>= 1.16.2, < 1.17)
concurrent-ruby (>= 1.3.6, < 2.0)
logger
mutex_m
xcodeproj (< 1.26.0)
nkf
xcodeproj (>= 1.27.0, < 2.0)

RUBY VERSION
ruby 2.7.6p219
ruby 3.4.9

BUNDLED WITH
2.3.22
4.0.12
Loading
Loading