Skip to content

Add the go bindings for the chiavdf c wrapper #278

Add the go bindings for the chiavdf c wrapper

Add the go bindings for the chiavdf c wrapper #278

Workflow file for this run

name: Test/Lint/Fmt/Vet
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
container: golang:1
steps:
- uses: actions/checkout@v4
- name: Get latest chiavdf libs
run: |
apt-get update && apt-get install -y unzip
LATEST_CHIAVDF=$(curl -s https://latest.cmm.io/chiavdf)
mkdir chiavdfc
cd chiavdfc || exit 1
wget https://github.com/Chia-Network/chiavdf/releases/download/$LATEST_CHIAVDF/chiavdfc-ubuntu-intel.zip
unzip chiavdfc-ubuntu-intel.zip
echo "CGO_CFLAGS=-I${{ env.GITHUB_WORKSPACE }}/chiavdfc/chiavdfc-ubuntu-intel
- name: Test
run: make test