Skip to content

Commit

Permalink
fix: try fix publish bb (#3036)
Browse files Browse the repository at this point in the history
Co-authored-by: ludamad <[email protected]>
  • Loading branch information
ludamad and ludamad0 authored Oct 25, 2023
1 parent 546b410 commit 51248b5
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/publish-bb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand All @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 51248b5

Please sign in to comment.