Skip to content

Commit

Permalink
Configurable lib repository in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeutin-ledger committed Jan 5, 2024
1 parent a81e77b commit 90478dc
Showing 1 changed file with 58 additions and 12 deletions.
70 changes: 58 additions & 12 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: 'app-stellar'
type: string

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

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

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

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

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

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

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

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

test_filter:
required: false
default: '""'
Expand All @@ -56,40 +102,40 @@ 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
Expand Down

0 comments on commit 90478dc

Please sign in to comment.