-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (43 loc) · 1.41 KB
/
publish_geth_testing.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
45
46
47
48
49
50
51
name: Run go-ethereum unit tests
on:
push:
branches: [ "1.10.19-zama" ]
pull_request:
branches: [ "1.10.19-zama" ]
jobs:
build_and_test:
name: Build and test go-ethereum
runs-on: ubuntu-latest
steps:
- name: Checkout TFHE-rs
uses: actions/checkout@v3
with:
repository: zama-ai/tfhe-rs
ref: 1d817c45d5234bcf33638406191b656998b30c2a
path: tfhe-rs
- name: Checkout zbc-fhe-tool
uses: actions/checkout@v3
with:
repository: zama-ai/zbc-fhe-tool
ref: main
token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }}
path: zbc-fhe-tool
- name: Checkout go-ethereum
uses: actions/checkout@v3
with:
path: go-ethereum
- name: Build C API
working-directory: ./tfhe-rs
run: make build_c_api_experimental_deterministic_fft
- name: Move library files
run: |
sudo mv ./tfhe-rs/target/release/tfhe.h /usr/include
sudo mv ./tfhe-rs/target/release/libtfhe.so /usr/lib/
- name: Generate TFHE-rs keys
working-directory: ./zbc-fhe-tool
run: |
mkdir -p $HOME/.evmosd/zama/keys/network-fhe-keys
cargo run --features tfhe/x86_64-unix --release -- generate-keys -d $HOME/.evmosd/zama/keys/network-fhe-keys
- name: Run tests
working-directory: ./go-ethereum/core/vm
run: go test -v