Skip to content

ci(LDG-499): updated ci + updated ethereum-plugin-sdk #51

ci(LDG-499): updated ci + updated ethereum-plugin-sdk

ci(LDG-499): updated ci + updated ethereum-plugin-sdk #51

Workflow file for this run

name: Compilation & tests
on:
workflow_dispatch:
push:
branches:
- main
- master
- develop
pull_request:
jobs:
job_build_release_plugin:
name: Build release plugin
strategy:
matrix:
include:
- sdk: "$NANOS_SDK"
name: "nanos"
- sdk: "$NANOX_SDK"
name: "nanox"
- sdk: "$NANOSP_SDK"
name: "nanosp"
- sdk: "$STAX_SDK"
name: "stax"
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest
steps:
- name: Clone
uses: actions/checkout@v3
with:
submodules: recursive
- name: Build
run: |
make BOLOS_SDK=${{ matrix.sdk }} -j
job_scan_build:
name: Clang Static Analyzer
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-lite:latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build with Clang Static Analyzer
run: |
git config --global --add safe.directory /__w/app-plugin-paraswap-1/app-plugin-paraswap-1
scan-build --use-cc=clang -analyze-headers -enable-checker security -enable-checker unix -enable-checker valist -o scan-build --status-bugs make default
- uses: actions/upload-artifact@v3
if: failure()
with:
name: scan-build
path: scan-build
build_plugin:
name: Build plugin using the reusable workflow
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
upload_app_binaries_artifact: plugin_binaries
flags: "DEBUG=1"
build_develop_ethereum_app:
name: Build Ethereum app using the reusable workflow
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
app_repository: LedgerHQ/app-ethereum
app_branch_name: develop
flags: "DEBUG=1 CAL_TEST_KEY=1"
upload_app_binaries_artifact: ethereum_build_develop
jobs-e2e-tests:
name: E2E Tests
needs: [job_build_debug_plugin, job_build_debug_app]

Check failure on line 82 in .github/workflows/ci-workflow.yml

View workflow run for this annotation

GitHub Actions / Compilation & tests

Invalid workflow file

The workflow is not valid. .github/workflows/ci-workflow.yml (Line: 82, Col: 13): Job 'jobs-e2e-tests' depends on unknown job 'job_build_debug_plugin'. .github/workflows/ci-workflow.yml (Line: 82, Col: 37): Job 'jobs-e2e-tests' depends on unknown job 'job_build_debug_app'.
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download built binaries
uses: actions/download-artifact@v3
with:
name: binaries
path: tests/elfs/
- name: Install node
uses: actions/setup-node@v3
with:
node-version: "16.19.0"
- name: Install yarn
run: |
npm install -g yarn
- name: Install JS deps
run: |
cd tests && yarn install
- name: Run Zemu tests
run: |
cd tests && yarn test