Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsobries committed Aug 8, 2024
1 parent e03b4d3 commit 2be712e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ jobs:
cd mcl
make -j4
cd ffi/java
sed -i 's|option(MCL_LINK_DIR "Absolute path where mcl static or dynamic library resides")|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")|' ./CMakeLists.txt
# 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
cd build
cmake ..
Expand Down

0 comments on commit 2be712e

Please sign in to comment.