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 committed by Jacqueline Deans
parent 8153e81c13
commit 1eb3ab9895

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: |