From 88d6ea196d14f5ae4f7dadfc9515a2f22e8b0562 Mon Sep 17 00:00:00 2001 From: dimxy Date: Tue, 11 Oct 2022 19:44:45 +0500 Subject: [PATCH 1/4] add pycurl install to mac yml --- .github/workflows/komodo_mac_ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/komodo_mac_ci.yml b/.github/workflows/komodo_mac_ci.yml index c6a606aa725..0419a1b9f7c 100644 --- a/.github/workflows/komodo_mac_ci.yml +++ b/.github/workflows/komodo_mac_ci.yml @@ -54,6 +54,7 @@ jobs: - name: Install deps (Dice, Token, Faucet, Rewards CC) run: | brew install python3 curl + PYCURL_SSL_LIBRARY=openssl LDFLAGS="-L/usr/local/opt/openssl@3/lib" CPPFLAGS="-I/usr/local/opt/openssl@3/include" pip3 install --no-cache-dir pycurl python3 -m pip install setuptools wheel python3 -m pip install slick-bitcoinrpc pytest wget jsonschema From 1b1ecabf5c866c8ec010cbe596d4eb765dbe5d5c Mon Sep 17 00:00:00 2001 From: dimxy Date: Tue, 11 Oct 2022 21:02:50 +0500 Subject: [PATCH 2/4] add install openssl to ci mac --- .github/workflows/komodo_mac_ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/komodo_mac_ci.yml b/.github/workflows/komodo_mac_ci.yml index 0419a1b9f7c..b0b062a6a53 100644 --- a/.github/workflows/komodo_mac_ci.yml +++ b/.github/workflows/komodo_mac_ci.yml @@ -53,6 +53,7 @@ jobs: - name: Install deps (Dice, Token, Faucet, Rewards CC) run: | + brew install openssl brew install python3 curl PYCURL_SSL_LIBRARY=openssl LDFLAGS="-L/usr/local/opt/openssl@3/lib" CPPFLAGS="-I/usr/local/opt/openssl@3/include" pip3 install --no-cache-dir pycurl python3 -m pip install setuptools wheel From 389166bcc371881667ec1da762f92f8787faa776 Mon Sep 17 00:00:00 2001 From: dimxy Date: Mon, 21 Nov 2022 13:08:48 +0500 Subject: [PATCH 3/4] add otool printing for komodod to investigate os error 8 --- .github/workflows/komodo_mac_ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/komodo_mac_ci.yml b/.github/workflows/komodo_mac_ci.yml index b0b062a6a53..61cd3be4b86 100644 --- a/.github/workflows/komodo_mac_ci.yml +++ b/.github/workflows/komodo_mac_ci.yml @@ -71,6 +71,8 @@ jobs: tar xzvf komodo-macos.tar.gz ./zcutil/fetch-params.sh cd qa/pytest_komodo + otool -h ../../src/komodod + otool -L ../../src/komodod ./ci_setup.sh "cc_modules/test_dice.py cc_modules/test_faucet.py cc_modules/test_token.py cc_modules/test_rewards.py" macos-test-oracles: From 0af266e634dcd610b16416491107b6f48a2b58d8 Mon Sep 17 00:00:00 2001 From: dimxy Date: Mon, 21 Nov 2022 13:59:23 +0500 Subject: [PATCH 4/4] print cpu for mac for build and test --- .github/workflows/komodo_mac_ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/komodo_mac_ci.yml b/.github/workflows/komodo_mac_ci.yml index 61cd3be4b86..d359538115b 100644 --- a/.github/workflows/komodo_mac_ci.yml +++ b/.github/workflows/komodo_mac_ci.yml @@ -17,6 +17,7 @@ jobs: - name: Install deps (macOS) run: | + sysctl -n machdep.cpu.brand_string brew update brew upgrade brew tap discoteq/discoteq; brew install flock @@ -53,6 +54,7 @@ jobs: - name: Install deps (Dice, Token, Faucet, Rewards CC) run: | + sysctl -n machdep.cpu.brand_string brew install openssl brew install python3 curl PYCURL_SSL_LIBRARY=openssl LDFLAGS="-L/usr/local/opt/openssl@3/lib" CPPFLAGS="-I/usr/local/opt/openssl@3/include" pip3 install --no-cache-dir pycurl