Skip to content

Commit

Permalink
[tmp]
Browse files Browse the repository at this point in the history
  • Loading branch information
sgliner-ledger committed Sep 5, 2023
1 parent 6ab664c commit e847de7
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/_build_nanos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:

- name: Setup repos
run: |
python3 scripts/build_and_test/main.py --input_file input_files/input.json
python3 scripts/build_and_test/main.py --input_file input_files/input_test.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
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref}} --input_file input_files/input_test.json --build --nanos --skip_setup --output_file build_nanos.json
#- name: Push info to DB
# run: |
Expand All @@ -35,13 +35,13 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: report.json
path: build_output_nanos.json
path: build_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
python3 scripts/output_scripts/convert.py --input_file build_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
python3 scripts/output_scripts/status.py --input_file build_nanos.json
4 changes: 2 additions & 2 deletions .github/workflows/_build_nanosp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:

- name: Setup repos
run: |
python3 scripts/build_and_test/main.py --input_file input_files/input.json
python3 scripts/build_and_test/main.py --input_file input_files/input_test.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
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref}} --input_file input_files/input_test.json --build --nanosp --skip_setup --output_file build_nanosp.json
#- name: Push info to DB
# run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_build_nanox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:

- name: Setup repos
run: |
python3 scripts/build_and_test/main.py --input_file input_files/input.json
python3 scripts/build_and_test/main.py --input_file input_files/input_test.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
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref}} --input_file input_files/input_test.json --build --nanox --skip_setup --output_file build_nanox.json
#- name: Push info to DB
# run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_build_stax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:

- name: Setup repos
run: |
python3 scripts/build_and_test/main.py --input_file input_files/input.json
python3 scripts/build_and_test/main.py --input_file input_files/input_test.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
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref}} --input_file input_files/input_test.json --build --stax --skip_setup --output_file build_stax.json
#- name: Push info to DB
# run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_test_devices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Setup repos
run: |
python3 scripts/build_and_test/main.py --input_file input_files/input.json
python3 scripts/build_and_test/main.py --input_file input_files/input_test.json
- name: Install tests dependencies
run: |
Expand All @@ -52,17 +52,17 @@ jobs:
- name: Launch test nanosp
if: ${{ inputs.run_nanosp }}
run: |
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref_nanosp }} --input_file input_files/input.json --test --nanosp --skip_setup --output_file test_nanosp.json
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref_nanosp }} --input_file input_files/input_test.json --test --nanosp --skip_setup --output_file test_nanosp.json
- name: Launch test nanox
if: ${{ inputs.run_nanox }}
run: |
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref_nanox }} --input_file input_files/input.json --test --nanox --skip_setup --output_file test_nanox.json
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref_nanox }} --input_file input_files/input_test.json --test --nanox --skip_setup --output_file test_nanox.json
- name: Launch test stax
if: ${{ inputs.run_stax }}
run: |
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref_stax }} --input_file input_files/input.json --test --stax --skip_setup --output_file test_stax.json
python3 scripts/build_and_test/main.py --sdk_ref ${{ inputs.sdk_ref_stax }} --input_file input_files/input_test.json --test --stax --skip_setup --output_file test_stax.json
- name: Merge output files
run: |
Expand Down
108 changes: 108 additions & 0 deletions input_files/input_test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
[
{
"name": "app-acala",
"owner": "Zondax",
"ref": "develop",
"url": "https://github.com/LedgerHQ/app-acala",
"build_path": "app",
"test_blacklist": [
"nanos",
"nanosp",
"nanox",
"stax"
],
"variant_param": "COIN",
"variants_nanos": [
"ACA",
"ACA_XL"
],
"variants_nanox": [
"ACA"
],
"variants_nanosp": [
"ACA"
]
},
{
"name": "app-aergo",
"owner": "aergoio",
"ref": "develop",
"url": "https://github.com/LedgerHQ/app-aergo",
"test_blacklist": [
"nanos",
"nanosp",
"nanox",
"stax"
],
"variant_param": "COIN",
"variants_nanos": [
"AERGO"
],
"variants_nanox": [
"AERGO"
],
"variants_nanosp": [
"AERGO"
],
"variants_stax": [
"AERGO"
]
},
{
"name": "app-aeternity",
"owner": "LedgerHQ",
"ref": "master",
"url": "https://github.com/LedgerHQ/app-aeternity",
"variant_param": "COIN",
"variants_nanos": [
"aeternity"
],
"variants_nanox": [
"aeternity"
],
"variants_nanosp": [
"aeternity"
],
"variants_stax": [
"aeternity"
]
},
{
"name": "app-age",
"owner": "LedgerHQ",
"ref": "main",
"url": "https://github.com/LedgerHQ/app-age",
"build_blacklist": [
"nanos",
"nanosp",
"nanox",
"stax"
],
"test_blacklist": [
"nanos",
"nanosp",
"nanox",
"stax"
]
},
{
"name": "app-boilerplate",
"owner": "aionnetwork",
"ref": "master",
"url": "https://github.com/LedgerHQ/app-boilerplate",
"test_dir": "tests",
"variant_param": "COIN",
"variants_nanos": [
"BOL"
],
"variants_nanox": [
"BOL"
],
"variants_nanosp": [
"BOL"
],
"variants_stax": [
"BOL"
]
}
]

0 comments on commit e847de7

Please sign in to comment.