From 51248b5af22a8d87b4d87a23444ccea5a3c3a982 Mon Sep 17 00:00:00 2001 From: ludamad Date: Wed, 25 Oct 2023 14:02:22 -0400 Subject: [PATCH] fix: try fix publish bb (#3036) Co-authored-by: ludamad --- .github/workflows/publish-bb.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/publish-bb.yml b/.github/workflows/publish-bb.yml index a8494fcaa43..85c07413176 100644 --- a/.github/workflows/publish-bb.yml +++ b/.github/workflows/publish-bb.yml @@ -21,7 +21,7 @@ permissions: jobs: build-x86_64-linux-gnu: name: Build on Linux GNU - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 steps: - name: Checkout Code uses: actions/checkout@v3 @@ -40,18 +40,18 @@ jobs: - name: Install Clang16 run: | - wget https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.4/clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04.tar.xz - tar -xvf clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04.tar.xz - sudo cp clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04/bin/* /usr/local/bin/ - sudo cp -r clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04/include/* /usr/local/include/ - sudo cp -r clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04/lib/* /usr/local/lib/ - sudo cp -r clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04/share/* /usr/local/share/ + wget https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz + tar -xvf clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz + sudo cp clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/* /usr/local/bin/ + sudo cp -r clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/include/* /usr/local/include/ + sudo cp -r clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/lib/* /usr/local/lib/ + sudo cp -r clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/share/* /usr/local/share/ - name: Compile Barretenberg run: | cd barretenberg/cpp - cmake --preset default -DCMAKE_BUILD_TYPE=RelWithAssert -DTARGET_ARCH=westmere + cmake --preset default -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_BUILD_TYPE=RelWithAssert -DTARGET_ARCH=westmere cmake --build --preset default --target bb - name: Tar and GZip bb Binary (Ubuntu) @@ -67,7 +67,7 @@ jobs: build-wasm-ts: name: Build WASM and deploy to TS - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 steps: - name: Checkout Code uses: actions/checkout@v3 @@ -86,12 +86,12 @@ jobs: - name: Install Clang16 run: | - wget https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.4/clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04.tar.xz - tar -xvf clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04.tar.xz - sudo cp clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04/bin/* /usr/local/bin/ - sudo cp -r clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04/include/* /usr/local/include/ - sudo cp -r clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04/lib/* /usr/local/lib/ - sudo cp -r clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04/share/* /usr/local/share/ + wget https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz + tar -xvf clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz + sudo cp clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/* /usr/local/bin/ + sudo cp -r clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/include/* /usr/local/include/ + sudo cp -r clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/lib/* /usr/local/lib/ + sudo cp -r clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/share/* /usr/local/share/ - name: Install yarn run: |