diff --git a/.github/scripts/install-libsecp256k1.sh b/.github/scripts/install-libsecp256k1.sh index a89a51464..df39c81ef 100755 --- a/.github/scripts/install-libsecp256k1.sh +++ b/.github/scripts/install-libsecp256k1.sh @@ -9,11 +9,11 @@ if [ -f $HOME/.local/lib/libsecp256k1.a ]; then exit 0 fi -gitRef="21ffe4b22a9683cf24ae0763359e401d1284cc7a" -curl -LO "https://github.com/bitcoin-core/secp256k1/archive/$gitRef.zip" +INSTALL_VERSION=0.5.0 +curl -LO "https://github.com/bitcoin-core/secp256k1/archive/v$INSTALL_VERSION.zip" -unzip "$gitRef.zip" -cd "secp256k1-$gitRef" +unzip "v$INSTALL_VERSION.zip" && rm "v$INSTALL_VERSION.zip" +cd "secp256k1-$INSTALL_VERSION" ./autogen.sh # hevm needs reecovery module diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 138b53cd9..1524d62a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -143,7 +143,7 @@ jobs: - name: Build and install echidna run: | export PATH="$HASKELL_PATHS:$PATH" - stack install --flag echidna:static --ghc-options="-Werror" + stack install --flag echidna:static --ghc-options="-Werror" --flag hevm:static-secp256k1 - name: Amend and compress binaries (macOS) if: runner.os == 'macOS'