[temp-fix] Set JULIA_DEPOT_PATH to a writable directory #2314
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linux | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
LCG: ["dev3/x86_64-el9-clang16-opt", | |
"dev4/x86_64-el9-clang16-opt", | |
"dev4/x86_64-el9-gcc13-opt", | |
"LCG_105/x86_64-el9-clang16-opt", | |
"LCG_105/x86_64-el9-gcc13-opt"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cvmfs-contrib/github-action-cvmfs@v4 | |
- uses: aidasoft/run-lcg-view@v4 | |
with: | |
release-platform: ${{ matrix.LCG }} | |
run: | | |
echo "::group::Run CMake" | |
mkdir build install | |
cd build | |
cmake -DENABLE_SIO=ON \ | |
-DENABLE_JULIA=ON \ | |
-DENABLE_RNTUPLE=ON \ | |
-DENABLE_DATASOURCE=ON \ | |
-DCMAKE_INSTALL_PREFIX=../install \ | |
-DCMAKE_CXX_STANDARD=20 \ | |
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always -Werror -Wno-error=deprecated-declarations " \ | |
-DUSE_EXTERNAL_CATCH2=OFF \ | |
-DPODIO_USE_CLANG_FORMAT=AUTO \ | |
-G Ninja .. | |
echo "::endgroup::" | |
echo "::group::Build" | |
ninja -k0 | |
echo "::endgroup" | |
echo "::group::Julia StaticArrays Package Install" | |
julia -e 'import Pkg; Pkg.add("StaticArrays")' | |
echo "::endgroup" | |
echo "::group::Run tests" | |
ctest --output-on-failure | |
echo "::endgroup::" | |
echo "::group::Install" | |
ninja install | |
echo "::endgroup::" |