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

Split build_sideloaded_applications job #7

Closed
wants to merge 2 commits into from
Closed
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
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: 'app'
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
Loading