Add otool -hv check to make sure binary is correct

This commit is contained in:
Ian Davis 2022-12-13 15:53:01 -08:00
parent 93d12e1642
commit 8960c11f86
2 changed files with 4 additions and 0 deletions

View File

@ -282,6 +282,7 @@ jobs:
darwin: true
darwin-architecture: amd64
- run: make lotus lotus-miner lotus-worker
- run: otool -hv lotus
- run:
name: check tag and version output match
command: ./scripts/version-check.sh ./lotus
@ -308,6 +309,7 @@ jobs:
export CPATH=$(brew --prefix)/include
export LIBRARY_PATH=$(brew --prefix)/lib
make lotus lotus-miner lotus-worker
- run: otool -hv lotus
- run:
name: check tag and version output match
command: ./scripts/version-check.sh ./lotus

View File

@ -282,6 +282,7 @@ jobs:
darwin: true
darwin-architecture: amd64
- run: make lotus lotus-miner lotus-worker
- run: otool -hv lotus
- run:
name: check tag and version output match
command: ./scripts/version-check.sh ./lotus
@ -308,6 +309,7 @@ jobs:
export CPATH=$(brew --prefix)/include
export LIBRARY_PATH=$(brew --prefix)/lib
make lotus lotus-miner lotus-worker
- run: otool -hv lotus
- run:
name: check tag and version output match
command: ./scripts/version-check.sh ./lotus