-
Notifications
You must be signed in to change notification settings - Fork 342
44 lines (42 loc) · 1.11 KB
/
build-and-test-go.yml
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
41
42
43
44
name: build-go-projects
on:
push:
branches: [main]
pull_request:
branches: ["*"]
paths:
- "operator/**"
- "aggregator/**"
- "common/**"
- "core/**"
- "metrics/**"
- ".github/workflows/build-go.yml"
env:
FFI_FOR_RELEASE: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23"
cache: false
- name: foundry-toolchain
uses: foundry-rs/foundry-toolchain@v1.2.0
- name: Build SP1 bindings
run: make build_sp1_linux
- name: Build Old SP1 bindings
run: make build_sp1_linux_old
- name: Build Risc Zero go bindings
run: make build_risc_zero_linux
- name: Build Old Risc Zero go bindings
run: make build_risc_zero_linux_old
- name: Build Merkle Tree bindings
run: make build_merkle_tree_linux
- name: Build operator
run: go build operator/cmd/main.go
- name: Build aggregator
run: go build aggregator/cmd/main.go
- name: Test Go
run: make test