File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -501,31 +501,37 @@ jobs:
501501
502502 - name : Configure
503503 shell : bash -l {0}
504- run : CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ./configure ${ENABLE_HDF5} ${ENABLE_DAP} ${ENABLE_NCZARR}
504+ run : |
505+ current_directory="$(pwd)"
506+ mkdir ../build
507+ cd ../build && CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} "${current_directory}/configure" ${ENABLE_HDF5} ${ENABLE_DAP} ${ENABLE_NCZARR}
505508 if : ${{ success() }}
506509
507510 - name : Look at config.log if error
508511 shell : bash -l {0}
509- run : cat config.log
512+ run : cd ../build && cat config.log
510513 if : ${{ failure() }}
511514
512515 - name : Print Summary
513516 shell : bash -l {0}
514- run : cat libnetcdf.settings
517+ run : cd ../build && cat libnetcdf.settings
515518
516519 - name : Build Library and Utilities
517520 shell : bash -l {0}
518- run : CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} make -j
521+ run : |
522+ cd ../build && CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} make -j
519523 if : ${{ success() }}
520524
521525 - name : Build Tests
522526 shell : bash -l {0}
523- run : CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} make check TESTS="" -j
527+ run : |
528+ cd ../build && CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} make check TESTS="" -j
524529 if : ${{ success() }}
525530
526531 - name : Run Tests
527532 shell : bash -l {0}
528- run : CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} make check -j
533+ run : |
534+ cd ../build && CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} make check -j
529535 if : ${{ success() }}
530536
531537 nc-cmake :
You can’t perform that action at this time.
0 commit comments