Skip to content

Commit 99a43eb

Browse files
committed
ci: keep bb installation to minimal
1 parent dc60541 commit 99a43eb

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
branches: [ main ]
88

99
jobs:
10-
# Job 1: Check commit messages
1110
Lint:
1211
name: Check Commit Messages
1312
runs-on: ubuntu-latest
@@ -34,7 +33,6 @@ jobs:
3433
if: github.event_name == 'push'
3534
run: npx --no -- commitlint --from=HEAD~1
3635

37-
# Job 2: Circuit build
3836
circuit-build:
3937
name: Circuit Build
4038
runs-on: ubuntu-latest
@@ -66,7 +64,6 @@ jobs:
6664
path: circuit/target/
6765
retention-days: 1
6866

69-
# Job 3: Circuit test
7067
circuit-test:
7168
name: Circuit Test
7269
runs-on: ubuntu-latest
@@ -91,7 +88,6 @@ jobs:
9188
- name: Run circuit tests
9289
run: yarn circuit:test
9390

94-
# Job 4: Circuit prove and verify
9591
circuit-prove-verify:
9692
name: Circuit Prove & Verify
9793
runs-on: ubuntu-latest
@@ -114,16 +110,9 @@ jobs:
114110
- name: Install Barretenberg
115111
shell: bash
116112
run: |
117-
mkdir -p $HOME/.bb
118-
curl -L -o $HOME/.bb/bbup_installer https://raw.githubusercontent.com/AztecProtocol/aztec-packages/master/barretenberg/bbup/install
119-
echo "Installer downloaded..."
120-
chmod +x $HOME/.bb/bbup_installer
121-
echo "Installer made executable..."
122-
bash $HOME/.bb/bbup_installer
123-
echo "bbup installed..."
113+
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/master/barretenberg/bbup/install | bash
124114
echo "${HOME}/.bb" >> $GITHUB_PATH
125-
echo "Added ${HOME}/.bb to PATH"
126-
bash $HOME/.bb/bbup -nv 1.0.0-beta.6
115+
bash $HOME/.bb/bbup -nv $(nargo -V | head -n1 | awk '{print $4}')
127116
128117
- name: Install dependencies
129118
run: yarn install --frozen-lockfile
@@ -146,7 +135,6 @@ jobs:
146135
- name: Verify proof
147136
run: yarn circuit:verify
148137

149-
# Job 5: Contracts compile
150138
contracts-compile:
151139
name: Contracts Compile
152140
runs-on: ubuntu-latest
@@ -175,7 +163,6 @@ jobs:
175163
cache/
176164
retention-days: 1
177165

178-
# Job 6: Contracts test
179166
contracts-test:
180167
name: Contracts Test
181168
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)