Set JAVA_HOME prior to building Trick in code_coverage.yml.

This commit is contained in:
John M. Penn 2023-08-04 11:35:12 -05:00
parent e0de924660
commit a119c7ed64

View File

@ -50,6 +50,7 @@ jobs:
export TRICK_SYSTEM_LDFLAGS="-fprofile-arcs -ftest-coverage -O0"
export TRICK_SYSTEM_CFLAGS="-fprofile-arcs -ftest-coverage -O0"
export TRICK_SYSTEM_CXXFLAGS="-fprofile-arcs -ftest-coverage -O0"
export JAVA_HOME=$(dirname $(dirname $(readlink -f `which java`)))
make
- name: Generate Code Coverage
run: |