Skip to content

Commit

Permalink
bring old building back it it don't breaks functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arobsn committed Nov 4, 2024
1 parent f98c019 commit 219d945
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,45 @@ name: Compilation & tests
on: [push, pull_request]

jobs:
job_build_application:
job_build_application_with_reusable_workflow:
name: Build application using the reusable workflow
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
upload_app_binaries_artifact: "compiled_app_binaries"

job_build_nano_debug:
name: Build application for NanoS+, X, Stax, Flex
runs-on: ubuntu-latest
strategy:
matrix:
include:
- SDK: "$NANOX_SDK"
artifact: ergo-app-debug-nanox
- SDK: "$NANOSP_SDK"
artifact: ergo-app-debug-nanosp
- SDK: "$STAX_SDK"
artifact: ergo-app-debug-stax
- SDK: "$FLEX_SDK"
artifact: ergo-app-debug-flex

container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest

steps:
- name: Clone
uses: actions/checkout@v4

- name: Build
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
make BOLOS_SDK=${{ matrix.SDK }} DEBUG=1
- name: Upload app binary
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact }}
path: bin

job_unit_test:
name: Unit tests
runs-on: ubuntu-latest
Expand Down Expand Up @@ -114,7 +147,7 @@ jobs:
#- model: stax
#- model: flex

needs: job_build_application
needs: job_build_nano_debug
runs-on: ubuntu-latest

container:
Expand Down

0 comments on commit 219d945

Please sign in to comment.