Skip to content

Commit

Permalink
Update windows-secp256k1 github action
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Apr 4, 2022
1 parent dbb6409 commit 4b250bf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/windows-secp256k1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ jobs:
cd secp256k1
unzip ../secp256k1.zip
cd ..
export PKG_CONFIG_PATH="$(readlink -f secp256k1/lib/pkgconfig)"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH;$(readlink -f secp256k1/lib/pkgconfig)"
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH"
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >> $GITHUB_ENV
export SECP256K1_PATH="$(readlink -f secp256k1/bin | tr / '\\')"
export SECP256K1_PATH="$(readlink -f secp256k1/bin | sed 's|^/d|D:|g' | tr / '\\')"
echo "SECP256K1_PATH=$SECP256K1_PATH"
echo "$SECP256K1_PATH" >> $GITHUB_PATH
- name: Cabal update
Expand All @@ -45,6 +47,5 @@ jobs:
cabal unpack secp256k1-haskell
cd secp256k1-haskell-*
cabal build --enable-tests
cp ../secp256k1/bin/*.dll dist-newstyle/build/x86_64-windows/ghc-*/secp256k1-haskell-*/t/spec/build/spec/
cabal test

0 comments on commit 4b250bf

Please sign in to comment.