1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-04 21:48:17 +00:00

Compare commits

..

3 Commits

Author SHA1 Message Date
Martin Milata
08b08accc8
Merge e79988e04a into c32d04d828 2024-12-03 21:43:09 +00:00
Martin Milata
e79988e04a DO NOT MERGE: test pull_request trigger 2024-12-03 22:42:48 +01:00
Martin Milata
7e8ed2ee24 ci: add build-docker.sh job
[no changelog]
2024-12-03 22:42:48 +01:00

View File

@ -122,9 +122,9 @@ jobs:
- run: nix-shell --run "poetry run make -C storage/tests tests_all"
docker_build:
name: Build firmware with build-docker.sh
name: Firmware docker build
# scheduled, manual runs, PRs for release branches
if: github.event_name != 'pull_request' || startsWith(github.ref_name, 'mmilata/')
if: github.event_name != 'pull_request' || startsWith(github.head_ref, 'mmilata/')
runs-on: ubuntu-latest
strategy:
fail-fast: false
@ -135,8 +135,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git checkout ${{ github.head_ref || github.ref_name }}
- run: ./build-docker.sh ${{ matrix.model == '1' && '--skip-core' || '--skip-legacy' }} --models ${{ matrix.model }} ${{ github.head_ref || github.ref_name }}
- run: |
- name: Show fingerprints
run: |
for file in build/*/*/*.fingerprint; do
if [ -f "$file" ]; then
origfile="${file%.fingerprint}"
@ -150,4 +152,4 @@ jobs:
name: reproducible-${{ matrix.model }}
path: |
build/*/*/*.bin
retention-days: 7
retention-days: 7