Fix incorrect depth set bug (#170) #139
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 0.3.1 | |
path: tfhe-rs | |
- name: Checkout zbc-fhe-tool | |
uses: actions/checkout@v3 | |
with: | |
repository: zama-ai/fhevm-tfhe-cli | |
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 |