Skip to content

Commit

Permalink
Add more libs.
Browse files Browse the repository at this point in the history
  • Loading branch information
J08nY committed Mar 25, 2024
1 parent ce7f7e6 commit 7a83706
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
21 changes: 20 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,33 @@ jobs:
- name: Setup libraries
run: |
sudo apt update
sudo apt install libmbedtls-dev libtomcrypt-dev libtommath-dev libssl-dev libcrypto++-dev libgcrypt20-dev nettle-dev
sudo apt install libmbedtls-dev libtomcrypt-dev libtommath-dev libssl-dev libcrypto++-dev libgcrypt20-dev nettle-dev libbotan-2-dev
- name: Build applets
run: if [ $JAVA_VERSION != 21 ]; then ./gradlew applet:buildJavaCard; fi

- name: Build reader
run: ./gradlew reader:uberJar

- name: Build libs
run: |
cd ext/boringssl
cmake -DBUILD_SHARED_LIBS=1 -Bbuild
cd build
make crypto
cd ../../..
cd ext/libressl
./autogen.sh
cmake -DBUILD_SHARED_LIBS=ON -Bbuild
cd build
make crypto
cd ../../..
cd ext/ipp-crypto
CC=clang CXX=clang++ cmake CMakeLists.txt -Bbuild -DARCH=intel64
cd build
make
cd ../../..
- name: Build standalone
run: |
./gradlew standalone:libs || true
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,19 +360,17 @@ BoringSSL, LibreSSL and ipp-crypto are included as git submodules. Make sure you
after checking out the ECTester repository to initialize them. To build BoringSSL do:
```
cd ext/boringssl
mkdir build
cmake -GNinja -Bbuild -DBUILD_SHARED_LIBS=1
cd build
cmake -GNinja -DBUILD_SHARED_LIBS=1 ..
ninja
```

To build LibreSSL do:
```
cd ext/libressl
./autogen.sh
mkdir build
cmake -GNinja -Bbuild -DBUILD_SHARED_LIBS=1
cd build
cmake -GNinja -DBUILD_SHARED_LIBS=1 ..
ninja
```

Expand Down

0 comments on commit 7a83706

Please sign in to comment.