Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable lib repository in CI #164

Merged
merged 1 commit into from
Jan 5, 2024
Merged
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
72 changes: 59 additions & 13 deletions .github/workflows/reusable_swap_functional_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,88 @@ on:
required: false
default: 'develop'
type: string

branch_for_stellar:
required: false
default: 'develop'
type: string
repo_for_stellar:
required: false
default: 'LedgerHQ/app-stellar'
type: string

branch_for_tezos:
required: false
default: 'develop'
type: string
repo_for_tezos:
required: false
default: 'LedgerHQ/app-tezos'
type: string

branch_for_xrp:
required: false
default: 'develop'
type: string
repo_for_xrp:
required: false
default: 'LedgerHQ/app-xrp'
type: string

branch_for_ethereum:
required: false
default: 'develop'
type: string
repo_for_ethereum:
required: false
default: 'LedgerHQ/app-ethereum'
type: string

branch_for_bitcoin_legacy:
required: false
default: 'develop'
type: string
repo_for_bitcoin_legacy:
required: false
default: 'LedgerHQ/app-bitcoin'
type: string

branch_for_bitcoin:
required: false
default: 'develop'
type: string
repo_for_bitcoin:
required: false
default: 'LedgerHQ/app-bitcoin-new'
type: string

branch_for_solana:
required: false
default: 'develop'
type: string
repo_for_solana:
required: false
default: 'LedgerHQ/app-solana'
type: string

branch_for_polkadot:
required: false
default: 'develop'
type: string
repo_for_polkadot:
required: false
default: 'LedgerHQ/app-polkadot'
type: string

branch_for_tron:
required: false
default: 'develop'
type: string
repo_for_tron:
required: false
default: 'LedgerHQ/app-tron'
type: string

test_filter:
required: false
default: '""'
Expand All @@ -56,45 +102,45 @@ jobs:
matrix:
coin:
- name: stellar
repo: app-stellar
repo: ${{ inputs.repo_for_stellar }}
branch: ${{ inputs.branch_for_stellar }}
- name: tezos
repo: app-tezos
repo: ${{ inputs.repo_for_tezos }}
branch: ${{ inputs.branch_for_tezos }}
- name: xrp
repo: app-xrp
repo: ${{ inputs.repo_for_xrp }}
branch: ${{ inputs.branch_for_xrp }}
- name: ethereum
repo: app-ethereum
repo: ${{ inputs.repo_for_ethereum }}
branch: ${{ inputs.branch_for_ethereum }}
- name: ethereum_classic
repo: app-ethereum
repo: ${{ inputs.repo_for_ethereum }}
branch: ${{ inputs.branch_for_ethereum }}
- name: litecoin
repo: app-bitcoin
repo: ${{ inputs.repo_for_bitcoin_legacy }}
branch: ${{ inputs.branch_for_bitcoin_legacy }}
- name: bitcoin_legacy
repo: app-bitcoin
repo: ${{ inputs.repo_for_bitcoin_legacy }}
branch: ${{ inputs.branch_for_bitcoin_legacy }}
- name: bitcoin
repo: app-bitcoin-new
repo: ${{ inputs.repo_for_bitcoin }}
branch: ${{ inputs.branch_for_bitcoin }}
- name: solana
repo: app-solana
repo: ${{ inputs.repo_for_solana }}
branch: ${{ inputs.branch_for_solana }}
- name: bsc
repo: app-ethereum
repo: ${{ inputs.repo_for_ethereum }}
branch: ${{ inputs.branch_for_ethereum }}
- name: DOT
repo: app-polkadot
repo: ${{ inputs.repo_for_polkadot }}
branch: ${{ inputs.branch_for_polkadot }}
- name: tron
repo: app-tron
repo: ${{ inputs.repo_for_tron }}
branch: ${{ inputs.branch_for_tron }}

uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
app_repository: LedgerHQ/${{ matrix.coin.repo }}
app_repository: ${{ matrix.coin.repo }}
app_branch_name: ${{ matrix.coin.branch }}
flags: "COIN=${{ matrix.coin.name }} CHAIN=${{ matrix.coin.name }}"
upload_app_binaries_artifact: libraries_binaries
Expand Down
Loading