Skip to content

Commit

Permalink
Split build_sideloaded_applications job
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Dec 4, 2023
1 parent 9f10dc4 commit 8095c42
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions .github/workflows/reusable_swap_functional_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ on:
type: string

jobs:
build_sideloaded_applications:
name: Build sideloaded applications using the reusable workflow
build_sideloaded_applications_tezos:
name: Build sideloaded applications using the reusable workflow for tezos
strategy:
fail-fast: false
matrix:
Expand All @@ -40,6 +40,23 @@ jobs:
repo: trilitech/ledger-app-tezos-wallet
branch: ${{ inputs.branch_for_tezos }}
relative_app_directory: 'app'

uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
app_repository: ${{ matrix.coin.repo }}
app_branch_name: ${{ matrix.coin.branch }}
relative_app_directory: ${{ matrix.coin.relative_app_directory }}
flags: "COIN=${{ matrix.coin.name }} CHAIN=${{ matrix.coin.name }} DEBUG=1"
upload_app_binaries_artifact: libraries_binaries
upload_as_lib_artifact: ${{ matrix.coin.name }}
run_for_devices: ${{ inputs.run_for_devices }}

build_sideloaded_applications_ethereum:
name: Build sideloaded applications using the reusable workflow for ethereum
strategy:
fail-fast: false
matrix:
coin:
- name: ethereum
repo: LedgerHQ/app-ethereum
branch: ${{ inputs.branch_for_ethereum }}
Expand All @@ -55,6 +72,16 @@ jobs:
upload_as_lib_artifact: ${{ matrix.coin.name }}
run_for_devices: ${{ inputs.run_for_devices }}

build_sideloaded_applications:
name: Build sideloaded applications using the reusable workflow
needs:
- build_sideloaded_applications_tezos
- build_sideloaded_applications_ethereum
runs-on: ubuntu-latest
steps:
- name: Waiting job
run: echo ""

build_exchange_application:
name: Build application using the reusable workflow
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
Expand Down

0 comments on commit 8095c42

Please sign in to comment.