-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5bbaadb
commit 6ab664c
Showing
5 changed files
with
188 additions
and
84 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Build apps on given SDK ref | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
sdk_ref: | ||
type: string | ||
required: false | ||
default: 'master' | ||
|
||
jobs: | ||
build-nanos: | ||
name: Build for all targets | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest | ||
|
||
steps: | ||
- name: Clone Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup repos | ||
run: | | ||
python3 scripts/build_and_test/main.py --input_file input_files/input.json | ||
- name: Launch build nanos | ||
run: | | ||
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref}} --input_file input_files/input.json --build --nanos --skip_setup --output_file build_nanos.json | ||
#- name: Push info to DB | ||
# run: | | ||
# python3 scripts/push_db.py --input_file build_output.json | ||
|
||
- name: Archive output file | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: report.json | ||
path: build_output_nanos.json | ||
|
||
- name: Convert to markdown | ||
run: | | ||
python3 scripts/output_scripts/convert.py --input_file build_output_nanos.json --output_file out.md --key build | ||
cat out.md >> $GITHUB_STEP_SUMMARY | ||
- name: Set job status | ||
run: | | ||
python3 scripts/output_scripts/status.py --input_file build_output_nanos.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Build apps on given SDK ref | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
sdk_ref: | ||
type: string | ||
required: false | ||
default: 'master' | ||
|
||
jobs: | ||
build-nanosp: | ||
name: Build for all targets | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest | ||
|
||
steps: | ||
- name: Clone Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup repos | ||
run: | | ||
python3 scripts/build_and_test/main.py --input_file input_files/input.json | ||
- name: Launch build nanosp | ||
run: | | ||
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref}} --input_file input_files/input.json --build --nanosp --skip_setup --output_file build_nanosp.json | ||
#- name: Push info to DB | ||
# run: | | ||
# python3 scripts/push_db.py --input_file build_output.json | ||
|
||
- name: Archive output file | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: report.json | ||
path: build_output_nanosp.json | ||
|
||
- name: Convert to markdown | ||
run: | | ||
python3 scripts/output_scripts/convert.py --input_file build_output_nanosp.json --output_file out.md --key build | ||
cat out.md >> $GITHUB_STEP_SUMMARY | ||
- name: Set job status | ||
run: | | ||
python3 scripts/output_scripts/status.py --input_file build_output_nanosp.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Build apps on given SDK ref | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
sdk_ref: | ||
type: string | ||
required: false | ||
default: 'master' | ||
|
||
jobs: | ||
build-nanox: | ||
name: Build for all targets | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest | ||
|
||
steps: | ||
- name: Clone Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup repos | ||
run: | | ||
python3 scripts/build_and_test/main.py --input_file input_files/input.json | ||
- name: Launch build nanox | ||
run: | | ||
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref}} --input_file input_files/input.json --build --nanox --skip_setup --output_file build_nanox.json | ||
#- name: Push info to DB | ||
# run: | | ||
# python3 scripts/push_db.py --input_file build_output.json | ||
|
||
- name: Archive output file | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: report.json | ||
path: build_output_nanox.json | ||
|
||
- name: Convert to markdown | ||
run: | | ||
python3 scripts/output_scripts/convert.py --input_file build_output_nanox.json --output_file out.md --key build | ||
cat out.md >> $GITHUB_STEP_SUMMARY | ||
- name: Set job status | ||
run: | | ||
python3 scripts/output_scripts/status.py --input_file build_output_nanox.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Build apps on given SDK ref | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
sdk_ref: | ||
type: string | ||
required: false | ||
default: 'master' | ||
|
||
jobs: | ||
build-stax: | ||
name: Build for stax | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest | ||
|
||
steps: | ||
- name: Clone Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup repos | ||
run: | | ||
python3 scripts/build_and_test/main.py --input_file input_files/input.json | ||
- name: Launch build stax | ||
run: | | ||
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref}} --input_file input_files/input.json --build --stax --skip_setup --output_file build_stax.json | ||
#- name: Push info to DB | ||
# run: | | ||
# python3 scripts/push_db.py --input_file build_output.json | ||
|
||
- name: Archive output file | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: report.json | ||
path: build_output_stax.json | ||
|
||
- name: Convert to markdown | ||
run: | | ||
python3 scripts/output_scripts/convert.py --input_file build_output_stax.json --output_file out.md --key build | ||
cat out.md >> $GITHUB_STEP_SUMMARY | ||
- name: Set job status | ||
run: | | ||
python3 scripts/output_scripts/status.py --input_file build_output_stax.json |