-
Notifications
You must be signed in to change notification settings - Fork 35
37 lines (34 loc) · 1011 Bytes
/
compile.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
name: Compile Native Programs and Run Tests
on:
pull_request:
branches:
- main
jobs:
build_and_run:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Compile the fault proof program
run: cargo build --profile release-client-lto
working-directory: client-programs/fault-proof
- name: Compile the range program
run: cargo build --profile release-client-lto
working-directory: client-programs/range
test_op_proposer_go:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.22'
- name: Run main_test.go
run: go test -v ./server/main_test.go
working-directory: op-proposer-go
env:
L2_RPC: ${{ secrets.L2_RPC }}
L2_NODE_RPC: ${{ secrets.L2_NODE_RPC }}
L1_RPC: ${{ secrets.L1_RPC }}
L1_BEACON_RPC: ${{ secrets.L1_BEACON_RPC }}