-
Notifications
You must be signed in to change notification settings - Fork 50
40 lines (37 loc) · 1.18 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Test executor inputs
on:
workflow_dispatch:
pull_request:
branches: [main, develop, develop-no-opt, develop-durian]
jobs:
build:
runs-on: [self-hosted, linux, X64, hc]
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: setup zkevm-rom
run: |
npm i
npm run build
npm run test:build:gasLimit:v1
npm run test:build:gasLimit:v2
npm run test:build:gasLimit:v3
- name: run counters tests
run: |
npm run test:counters
- name: run zkasm tests
run: |
npm run test:zkasm
- name: Generate tests
run: |
node tools/parallel-testing/gen-parallel-tests.js
- name: Run tests
run: |
export NUM_CPUS=31
npm run test:start
sh tools/parallel-testing/checker.sh