|
|
@ -120,11 +120,12 @@ jobs:
|
|
|
|
- run: nix-shell --run "poetry run make -C core build_bootloader_emu"
|
|
|
|
- run: nix-shell --run "poetry run make -C core build_bootloader_emu"
|
|
|
|
if: matrix.coins == 'universal' && matrix.model != 'T3T1' # FIXME T3T1 bootloader emulator
|
|
|
|
if: matrix.coins == 'universal' && matrix.model != 'T3T1' # FIXME T3T1 bootloader emulator
|
|
|
|
- run: nix-shell --run "poetry run make -C core build_unix_frozen"
|
|
|
|
- run: nix-shell --run "poetry run make -C core build_unix_frozen"
|
|
|
|
|
|
|
|
- run: cp core/build/unix/trezor-emu-core core/build/unix/trezor-emu-core-${{ matrix.model }}-${{ matrix.coins }}
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
name: core-emu-${{ matrix.model }}-${{ matrix.coins }}-${{ matrix.type }}-${{ matrix.asan }}
|
|
|
|
name: core-emu-${{ matrix.model }}-${{ matrix.coins }}-${{ matrix.type }}-${{ matrix.asan }}
|
|
|
|
path: |
|
|
|
|
path: |
|
|
|
|
core/build/unix/trezor-emu-core
|
|
|
|
core/build/unix/trezor-emu-core*
|
|
|
|
core/build/bootloader_emu/bootloader.elf
|
|
|
|
core/build/bootloader_emu/bootloader.elf
|
|
|
|
retention-days: 7
|
|
|
|
retention-days: 7
|
|
|
|
|
|
|
|
|
|
|
@ -707,5 +708,25 @@ jobs:
|
|
|
|
- uses: ./.github/actions/ui-comment
|
|
|
|
- uses: ./.github/actions/ui-comment
|
|
|
|
if: ${{ steps.check-fixtures-changed.outputs.FIXTURES_CHANGED == '1' }}
|
|
|
|
if: ${{ steps.check-fixtures-changed.outputs.FIXTURES_CHANGED == '1' }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
core_upload_emu:
|
|
|
|
|
|
|
|
name: Upload emulator binaries
|
|
|
|
|
|
|
|
if: github.event_name == 'schedule'
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
needs: core_emu
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/download-artifact@v4
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
pattern: core-emu*debuglink-noasan
|
|
|
|
|
|
|
|
merge-multiple: true
|
|
|
|
|
|
|
|
- name: Configure aws credentials
|
|
|
|
|
|
|
|
uses: aws-actions/configure-aws-credentials@v4
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
role-to-assume: arn:aws:iam::538326561891:role/gh_actions_deploy_dev_firmware_data
|
|
|
|
|
|
|
|
aws-region: eu-west-1
|
|
|
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
|
rm unix/trezor-emu-core
|
|
|
|
|
|
|
|
aws s3 sync unix s3://data.trezor.io/dev/firmware/emu-nightly
|
|
|
|
|
|
|
|
|
|
|
|
# Connect
|
|
|
|
# Connect
|
|
|
|
# TODO: core_connect_test
|
|
|
|
# TODO: core_connect_test
|
|
|
|