From 8960c11f86e24239ae5655c816c8d111cf6b5963 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Tue, 13 Dec 2022 15:53:01 -0800 Subject: [PATCH] Add otool -hv check to make sure binary is correct --- .circleci/config.yml | 2 ++ .circleci/template.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9bb1b5d47..5dd617e6a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/.circleci/template.yml b/.circleci/template.yml index f5eda5b79..4240d7ae2 100644 --- a/.circleci/template.yml +++ b/.circleci/template.yml @@ -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