-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
735 changed files
with
20,484 additions
and
18,885 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ permissions: | |
jobs: | ||
build-mobile-app-android: | ||
name: "Build Ledger Live Mobile (Android)" | ||
runs-on: [ledger-live-4xlarge-linux] | ||
runs-on: [ledger-live-4xlarge] | ||
env: | ||
NODE_OPTIONS: "--max-old-space-size=7168" | ||
steps: | ||
|
@@ -46,26 +46,15 @@ jobs: | |
ref: ${{ inputs.ref || github.sha }} | ||
- name: Setup git user | ||
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-git-user@develop | ||
- name: Setup the toolchain | ||
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop | ||
id: toolchain | ||
- name: Setup the caches | ||
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop | ||
id: caches | ||
with: | ||
skip_turbo_cache: "false" | ||
skip-turbo-cache: "false" | ||
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }} | ||
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }} | ||
region: ${{ secrets.AWS_CACHE_REGION }} | ||
turbo-server-token: ${{ secrets.TURBOREPO_SERVER_TOKEN }} | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.2.2 | ||
env: | ||
ImageOS: ubuntu20 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: "zulu" # See 'Supported distributions' for available options | ||
java-version: "11" | ||
- name: setup Android SDK | ||
uses: android-actions/[email protected] | ||
- name: install dependencies | ||
run: pnpm i --filter="live-mobile..." --filter="ledger-live" --no-frozen-lockfile --unsafe-perm | ||
- uses: LedgerHQ/ledger-live/tools/actions/get-package-infos@develop | ||
|
@@ -90,13 +79,13 @@ jobs: | |
ANDROID_KEY_PASS: staging | ||
NODE_OPTIONS: "--max-old-space-size=7168" | ||
ANDROID_KEYSTORE_FILE: ${{ github.workspace }}/apps/ledger-live-mobile/android/app/staging.kstr | ||
run: pnpm build-ci:llm:android --api="http://127.0.0.1:${{ steps.toolchain.outputs.port }}" --token="${{ secrets.TURBOREPO_SERVER_TOKEN }}" --team="foo" | ||
run: pnpm build-ci:llm:android --api="http://127.0.0.1:${{ steps.caches.outputs.port }}" --token="${{ secrets.TURBOREPO_SERVER_TOKEN }}" --team="foo" | ||
- uses: LedgerHQ/ledger-live/tools/actions/get-package-infos@develop | ||
id: post-version | ||
with: | ||
path: ${{ github.workspace }}/apps/ledger-live-mobile | ||
- name: upload Android app | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ steps.post-version.outputs.version }}-release | ||
path: ${{ github.workspace }}/apps/ledger-live-mobile/android/app/build/outputs/apk/stagingRelease | ||
|
@@ -119,8 +108,8 @@ jobs: | |
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }} | ||
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }} | ||
region: ${{ secrets.AWS_CACHE_REGION }} | ||
skip_pod_cache: "false" | ||
skip_turbo_cache: "false" | ||
skip-pod-cache: "false" | ||
skip-turbo-cache: "false" | ||
turbo-server-token: ${{ secrets.TURBOREPO_SERVER_TOKEN }} | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
|
@@ -134,7 +123,7 @@ jobs: | |
pnpm mobile bundle:android:prod | ||
pnpm mobile gen-metafile | ||
- name: Upload mobile metafile | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: mobile.metafile.json | ||
path: ${{ github.workspace }}/apps/ledger-live-mobile/mobile.metafile.json | ||
|
@@ -154,7 +143,7 @@ jobs: | |
with: | ||
ref: ${{ inputs.ref || github.sha }} | ||
- name: download mobile metafile | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: mobile.metafile.json | ||
- uses: LedgerHQ/ledger-live/tools/actions/build-checks@develop | ||
|
@@ -256,7 +245,7 @@ jobs: | |
}], | ||
} | ||
fs.writeFileSync("summary.json", JSON.stringify(output), "utf-8"); | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
name: upload output | ||
with: | ||
path: ${{ github.workspace }}/summary.json | ||
|
Oops, something went wrong.