@@ -31,38 +31,38 @@ jobs:
31
31
echo "repo=${{ github.repository}}" >> $GITHUB_OUTPUT
32
32
echo "branch=${{ github.ref }}" >> $GITHUB_OUTPUT
33
33
fi
34
- retrieve-rust-apps :
35
- name : Retrieve Rust Apps
36
- runs-on : ubuntu-latest
37
- needs : how-workflow-is-called
38
- outputs :
39
- rust_apps : ${{ steps.get_rust_apps.outputs.rust_apps }}
40
- exclude_apps : ${{ steps.get_rust_apps.outputs.exclude_apps }}
41
- ledger_devices : ${{ steps.get_rust_apps.outputs.ledger_devices }}
42
- steps :
43
- - name : Checkout repository
44
- uses : actions/checkout@v4
45
- with :
46
- repository : ${{ needs.how-workflow-is-called.outputs.repository }}
47
- ref : ${{ needs.how-workflow-is-called.outputs.branch }}
48
- - name : Set up Python
49
- uses : actions/setup-python@v4
50
- with :
51
- python-version : ' 3.x'
52
- - name : Install ledgered
53
- run : pip install ledgered
54
- - name : Get all rust apps
55
- id : get_rust_apps
56
- run : |
57
- python .github/workflows/get_rust_apps.py ${{ secrets.GITHUB_TOKEN }}
58
- echo "rust_apps=$(cat rust_apps.json)" >> $GITHUB_OUTPUT
59
- echo "exclude_apps=$(cat exclude_apps.json)" >> $GITHUB_OUTPUT
60
- echo "ledger_devices=$(cat ledger_devices.json)" >> $GITHUB_OUTPUT
34
+ # retrieve-rust-apps:
35
+ # name: Retrieve Rust Apps
36
+ # runs-on: ubuntu-latest
37
+ # needs: how-workflow-is-called
38
+ # outputs:
39
+ # rust_apps: ${{ steps.get_rust_apps.outputs.rust_apps }}
40
+ # exclude_apps: ${{ steps.get_rust_apps.outputs.exclude_apps }}
41
+ # ledger_devices: ${{ steps.get_rust_apps.outputs.ledger_devices }}
42
+ # steps:
43
+ # - name: Checkout repository
44
+ # uses: actions/checkout@v4
45
+ # with:
46
+ # repository: ${{ needs.how-workflow-is-called.outputs.repository }}
47
+ # ref: ${{ needs.how-workflow-is-called.outputs.branch }}
48
+ # - name: Set up Python
49
+ # uses: actions/setup-python@v4
50
+ # with:
51
+ # python-version: '3.x'
52
+ # - name: Install ledgered
53
+ # run: pip install ledgered
54
+ # - name: Get all rust apps
55
+ # id: get_rust_apps
56
+ # run: |
57
+ # python .github/workflows/get_rust_apps.py ${{ secrets.GITHUB_TOKEN }}
58
+ # echo "rust_apps=$(cat rust_apps.json)" >> $GITHUB_OUTPUT
59
+ # echo "exclude_apps=$(cat exclude_apps.json)" >> $GITHUB_OUTPUT
60
+ # echo "ledger_devices=$(cat ledger_devices.json)" >> $GITHUB_OUTPUT
61
61
62
62
display-rust-apps :
63
63
name : Display Rust Apps
64
64
runs-on : ubuntu-latest
65
- needs : retrieve-rust-apps
65
+ # needs: retrieve-rust-apps
66
66
steps :
67
67
- name : Display Rust Apps
68
68
run : |
@@ -72,13 +72,23 @@ jobs:
72
72
73
73
test-build :
74
74
name : Build for all targets
75
- needs : [retrieve-rust-apps, how-workflow-is-called]
75
+ # needs: [retrieve-rust-apps, how-workflow-is-called]
76
+ needs : [how-workflow-is-called]
76
77
strategy :
77
78
fail-fast : false
78
79
matrix :
79
- app-name : ${{ fromJSON(needs.retrieve-rust-apps.outputs.rust_apps) }}
80
- device : ${{ fromJSON(needs.retrieve-rust-apps.outputs.ledger_devices) }}
81
- exclude : ${{ fromJSON(needs.retrieve-rust-apps.outputs.exclude_apps) }}
80
+ # app-name: ${{ fromJSON(needs.retrieve-rust-apps.outputs.rust_apps) }}
81
+ # device: ${{ fromJSON(needs.retrieve-rust-apps.outputs.ledger_devices) }}
82
+ # exclude: ${{ fromJSON(needs.retrieve-rust-apps.outputs.exclude_apps) }}
83
+ include :
84
+ - app-name : " app-boilerplate-rust"
85
+ device : " nanox"
86
+ - app-name : " app-boilerplate-rust"
87
+ device : " nanos+"
88
+ - app-name : " app-boilerplate-rust"
89
+ device : " stax"
90
+ - app-name : " app-boilerplate-rust"
91
+ device : " flex"
82
92
runs-on : ubuntu-latest
83
93
container :
84
94
image : ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
0 commit comments