@@ -126,6 +126,45 @@ jobs:
126
126
core/build/bootloader_emu/bootloader.elf
127
127
retention-days : 7
128
128
129
+ core_emu_arm :
130
+ # Disabled for testing purposes
131
+ # if: github.event_name == 'schedule'
132
+ name : Build emu arm
133
+ runs-on : ubuntu-latest-arm64
134
+ needs : param
135
+ strategy :
136
+ fail-fast : false
137
+ matrix :
138
+ model : [T2T1, T2B1, T3T1]
139
+ coins : [universal]
140
+ type : [debuglink]
141
+ asan : [noasan]
142
+ exclude :
143
+ - type : normal
144
+ asan : asan
145
+ env :
146
+ TREZOR_MODEL : ${{ matrix.model == 'T2T1' && 'T' || matrix.model == 'T2B1' && 'R' || matrix.model }}
147
+ BITCOIN_ONLY : ${{ matrix.coins == 'universal' && '0' || '1' }}
148
+ PYOPT : ${{ matrix.type == 'debuglink' && '0' || '1' }}
149
+ ADDRESS_SANITIZER : ${{ matrix.asan == 'asan' && '1' || '0' }}
150
+ LSAN_OPTIONS : " suppressions=../../asan_suppressions.txt"
151
+ steps :
152
+ - uses : actions/checkout@v4
153
+ with :
154
+ submodules : recursive
155
+ - uses : ./.github/actions/environment
156
+ - run : nix-shell --run "poetry run make -C core build_bootloader_emu"
157
+ if : matrix.coins == 'universal'
158
+ - run : nix-shell --run "poetry run make -C core build_unix_frozen"
159
+ - run : cp core/build/unix/trezor-emu-core core/build/unix/trezor-emu-arm-core-${{ matrix.model }}-${{ matrix.coins }}
160
+ - uses : actions/upload-artifact@v4
161
+ with :
162
+ name : core-emu-arm-${{ matrix.model }}-${{ matrix.coins }}-${{ matrix.type }}-${{ matrix.asan }}
163
+ path : |
164
+ core/build/unix/trezor-emu-core*
165
+ core/build/bootloader_emu/bootloader.elf
166
+ retention-days : 2
167
+
129
168
core_unit_python_test :
130
169
name : Python unit tests
131
170
runs-on : ubuntu-latest
@@ -708,7 +747,9 @@ jobs:
708
747
name : Upload emulator binaries
709
748
if : github.event_name == 'schedule'
710
749
runs-on : ubuntu-latest
711
- needs : core_emu
750
+ needs :
751
+ - core_emu
752
+ - core_emu_arm
712
753
steps :
713
754
- uses : actions/download-artifact@v4
714
755
with :
0 commit comments