Skip to content

Update build configuration and add gitignore files #4

Update build configuration and add gitignore files

Update build configuration and add gitignore files #4

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: true
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
/var/cache/apt
/usr/local/lib
key: ${{ runner.os }}-apt-${{ hashFiles('**/ci.yml') }}
restore-keys: ${{ runner.os }}-apt
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y cmake make build-essential g++ clang autoconf javacc patchelf openjdk-8-jdk maven m4 tar lzip libfftw3-dev
- name: Clone FHE libraries
run: |
chmod +x src/main/java/T2-FHE-Compiler-and-Benchmarks/.circleci/clone_libs.sh
src/main/java/T2-FHE-Compiler-and-Benchmarks/.circleci/clone_libs.sh
- name: Build FHE libraries
run: |
chmod +x src/main/java/T2-FHE-Compiler-and-Benchmarks/.circleci/build_libs.sh
src/main/java/T2-FHE-Compiler-and-Benchmarks/.circleci/build_libs.sh
- name: Archive FHELibs artifacts
uses: actions/upload-artifact@v2
with:
name: FHELibs
path: |
SEAL
OpenFHE
- name: Build T2
run: sbt buildT2
- name: run backendTest
env:
FHETEST_HOME: ${{ github.workspace }}
run: sbt backendTest