Skip to content

Commit

Permalink
ci: upgrade libsecp256k1
Browse files Browse the repository at this point in the history
  • Loading branch information
elopez committed Aug 26, 2024
1 parent 28adea9 commit 96e4d28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/scripts/install-libsecp256k1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 96e4d28

Please sign in to comment.