Skip to content

Commit ac8a541

Browse files
Merge pull request #146 from ethereum-optimism/jan/circleci--011
chore: Migrate op-program-test workflow to CircleCI [11/N]
2 parents cfd5ae8 + 07ea88f commit ac8a541

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.circleci/config.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ workflows:
1010
jobs:
1111
- contracts-bedrock-build
1212
- op-program-riscv
13+
- op-program-test
1314
- asterisc-prestate:
1415
requires:
1516
- op-program-riscv
@@ -175,6 +176,27 @@ jobs:
175176
paths:
176177
- "op-program-artifacts"
177178

179+
op-program-test:
180+
executor: default
181+
steps:
182+
- checkout-with-monorepo
183+
- install-dependencies
184+
- install-go-modules
185+
- run:
186+
name: Build asterisc
187+
command: make build-rvgo && cp rvgo/bin/asterisc tests/op-program-test/
188+
- run:
189+
name: Build op-program
190+
command: |
191+
make -C rvsol/lib/optimism/op-program op-program-host
192+
cp rvsol/lib/optimism/op-program/bin/op-program tests/op-program-test/
193+
- run:
194+
name: Run op-program
195+
command: |
196+
tar -xzvf ./test-data.tar.gz
197+
./local_cmd.sh
198+
working_directory: tests/op-program-test
199+
178200
asterisc-prestate:
179201
executor: default
180202
resource_class: xlarge

0 commit comments

Comments
 (0)