Skip to content

Commit

Permalink
building blst in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iquerejeta committed Apr 25, 2022
1 parent f595928 commit f68b3b7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,30 @@ jobs:
echo "LIBSODIUM_PATH=$LIBSODIUM_PATH"
echo "$LIBSODIUM_PATH" >> $GITHUB_PATH
- name: Install blst (Linux)
if: matrix.os == 'ubuntu-latest'
run: |
mkdir blst-sources
cd blst-sources
git clone https://github.com/supranational/blst
cd blst
./build.sh
sudo install libblst.a /usr/local/lib/
sudo cp bindings/*.h /usr/local/include/
cd ../..
- name: Install blst (MacOS)
if: matrix.os == 'macos-latest'
run: |
mkdir blst-sources
cd blst-sources
git clone https://github.com/supranational/blst
cd blst
./build.sh
sudo install libblst.a /usr/local/lib/libblst.a
sudo cp bindings/*.h /usr/local/include/
cd ../..
- uses: haskell/actions/setup@v1
id: setup-haskell
with:
Expand Down

0 comments on commit f68b3b7

Please sign in to comment.