From 0d93e2dca25a7b3dc22512d975cda3805bac4e97 Mon Sep 17 00:00:00 2001 From: x-mass <36629999+x-mass@users.noreply.github.com> Date: Fri, 24 Nov 2023 07:59:24 +0000 Subject: [PATCH] fix build workflow --- .github/workflows/build.yml | 25 ++++++++++++------------- README.md | 2 +- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3633cc98..398759d1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,15 +29,15 @@ jobs: env && \ apt update && \ apt install -y \ - build-essential \ - libssl-dev \ - cmake \ - git \ - unzip \ - libicu-dev \ - curl \ - pkg-config \ - libspdlog-dev + liblz4-dev \ + libgnutls28-dev \ + libprotobuf-dev \ + libyaml-cpp-dev \ + libsctp-dev \ + ragel \ + xfslibs-dev \ + systemtap-sdt-dev \ + libc-ares-dev - name: Print toolchain information run: | @@ -50,12 +50,12 @@ jobs: with: submodules: 'recursive' fetch-depth: 0 - + - name: Install Python uses: actions/setup-python@v4 with: python-version: '3.10' - + # Workaround: https://github.com/actions/checkout/issues/1169 - name: Mark directory as safe run: | @@ -90,7 +90,7 @@ jobs: env: BOOST_ROOT: "${{ steps.install-boost.outputs.BOOST_ROOT }}" run: | - cd build + cd build make cd .. @@ -133,4 +133,3 @@ jobs: POOL="ubuntu/pool/main/p/proof-generator" aws s3api put-object --bucket deb.nil.foundation --key $POOL/$PROOF_GENERATOR_PACKAGE --body $PROOF_GENERATOR_PACKAGE mkrepo s3://deb.nil.foundation/ubuntu/ - diff --git a/README.md b/README.md index 2c5120fd..c69ed57a 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ ${ZKLLVM_BUILD:-build}/bin/assigner/assigner -b ${ZKLLVM_BUILD:-build}/examples/ # Building 1. Install dependencies: ``` - sudo apt-get install liblz4-dev libgnutls28-dev libprotobuf-dev libyaml-cpp-dev libsctp-dev ragel xfslibs-dev systemtap-sdt-dev + sudo apt-get install liblz4-dev libgnutls28-dev libprotobuf-dev libyaml-cpp-dev libsctp-dev ragel xfslibs-dev systemtap-sdt-dev libc-ares-dev ``` 2. Install specific version of *libmft-dev*: ```