It remains unknown when and why this changed, but nowadays the required
data files are to be found in a subdirectory named "build".
# Run ICU4C tests with stubdata.
run-with-stubdata:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
*/
#if defined (U_TOPBUILDDIR)
{
- dataOutDir = U_TOPBUILDDIR "data"U_FILE_SEP_STRING"out"U_FILE_SEP_STRING;
+ dataOutDir = U_TOPBUILDDIR
+ "data" U_FILE_SEP_STRING
+ "out" U_FILE_SEP_STRING
+ "build" U_FILE_SEP_STRING;
}
#else
#if defined (U_TOPBUILDDIR)
{
- static char env_string[] = U_TOPBUILDDIR "data" U_FILE_SEP_STRING "out" U_FILE_SEP_STRING;
+ static char env_string[] = U_TOPBUILDDIR
+ "data" U_FILE_SEP_STRING
+ "out" U_FILE_SEP_STRING
+ "build" U_FILE_SEP_STRING;
u_setDataDirectory(env_string);
return;
}