Skip to content

App ci

App ci #10

name: Build and run zemu tests
on:
workflow_dispatch:
push:
branches:
- master
- main
- develop
pull_request:
branches:
- develop
- master
- dev
jobs:
build_application:
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"
flags: "RELEASE_BUILD=0"
zemu_tests:
name: Run zemu tests
needs: [build_application]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: List available artifacts
run: |
echo "Available artifacts from build job:"
gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts \
| jq -r '.artifacts[] | "- " + .name'
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Download all artifacts
uses: actions/download-artifact@v3
with:
path: temp_artifacts
- name: Debug - Check download location
run: |
pwd
echo "Current directory contents:"
ls -la
echo "Looking for temp_artifacts:"
find . -name "temp_artifacts" -type d