Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsobries committed Aug 8, 2024
1 parent 2be712e commit ac0ad52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ jobs:
git clone https://github.com/herumi/mcl
cd mcl
make -j4
- name: Build Java FFI
run: |
cd ffi/java
ls /home/runner/work/java-crypto/java-crypto/mcl/build/lib
# Add the path to the mcl library to the CMakeLists.txt
awk '{if ($0 ~ /option\(MCL_LINK_DIR "Absolute path where mcl static or dynamic library resides"\)/) {print "option(MCL_LINK_DIR \"Absolute path where mcl static or dynamic library resides\" \"/home/runner/work/java-crypto/java-crypto/mcl/build/lib;/home/runner/work/java-crypto/java-crypto/mcl/lib\")"} else {print $0}}' CMakeLists.txt > CMakeLists.tmp && mv CMakeLists.tmp CMakeLists.txt
mkdir build
Expand Down

0 comments on commit ac0ad52

Please sign in to comment.