Skip to content

Commit

Permalink
Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Oct 1, 2020
1 parent ea99c7a commit 4816378
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
pkg_config_dir="$(pkg-config --variable pc_path pkg-config | cut -d ';' -f 1)"
export PKG_CONFIG_PATH="$(readlink -f libsodium-win64/lib/pkgconfig)"
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH"
echo "::set-env name=PKG_CONFIG_PATH::$PKG_CONFIG_PATH"
ls -al "$PKG_CONFIG_PATH"
# cp "libsodium-win64/lib/pkgconfig/libsodium.pc" "$pkg_config_dir"
echo "==="
sed -i "s|/d/a/1/s/|$(pwd)/|g" libsodium-win64/lib/pkgconfig/libsodium.pc
cat libsodium-win64/lib/pkgconfig/libsodium.pc
echo "==="
echo "::set-env name=PKG_CONFIG_PATH::$PKG_CONFIG_PATH"
echo "==="
pkg-config --libs libsodium
echo "==="
Expand All @@ -53,6 +53,13 @@ jobs:
echo "=== include ==="
ls /d/a/cardano-node/cardano-node/libsodium-win64/include
- name: Configure to use libsodium
run: |
cat >> cabal.project.local <<EOF
package cardano-crypto-praos
flags: -external-libsodium-vrf
EOF
- name: Debugging
env:
BINARY_CACHE_REGION: ${{ secrets.BINARY_CACHE_REGION }}
Expand Down

0 comments on commit 4816378

Please sign in to comment.