mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Don't print full diff when bytecode comparison fails in CI
This commit is contained in:
parent
7b467a49d7
commit
f14a80cbcf
@ -1006,18 +1006,25 @@ jobs:
|
|||||||
t_bytecode_compare:
|
t_bytecode_compare:
|
||||||
docker:
|
docker:
|
||||||
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
|
||||||
|
environment:
|
||||||
|
REPORT_FILES: |
|
||||||
|
bytecode-report-emscripten.txt
|
||||||
|
bytecode-report-ubuntu-json.txt
|
||||||
|
bytecode-report-ubuntu-cli.txt
|
||||||
|
bytecode-report-osx-json.txt
|
||||||
|
bytecode-report-osx-cli.txt
|
||||||
|
bytecode-report-windows-json.txt
|
||||||
|
bytecode-report-windows-cli.txt
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run: |
|
- run:
|
||||||
diff --report-identical-files --from-file \
|
name: Compare reports
|
||||||
bytecode-report-emscripten.txt \
|
command: diff --brief --report-identical-files --from-file $REPORT_FILES
|
||||||
bytecode-report-ubuntu-json.txt \
|
- run:
|
||||||
bytecode-report-ubuntu-cli.txt \
|
name: Print diff
|
||||||
bytecode-report-osx-json.txt \
|
when: on_fail
|
||||||
bytecode-report-osx-cli.txt \
|
command: diff --unified=0 --report-identical-files --from-file $REPORT_FILES | head --lines 50
|
||||||
bytecode-report-windows-json.txt \
|
|
||||||
bytecode-report-windows-cli.txt
|
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
Loading…
Reference in New Issue
Block a user