From 9d076978c40bd86e34cf183b8364970c72c66028 Mon Sep 17 00:00:00 2001 From: Miren Radia Date: Wed, 13 Apr 2022 10:20:46 +0100 Subject: [PATCH] Fix ParaView build configuration --- .github/workflows/build-and-release.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 7d18923..e9106b9 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -27,11 +27,20 @@ jobs: run: | mkdir $PARAVIEW_SUPERBUILD_DIR cd $PARAVIEW_SUPERBUILD_DIR - cmake -GNinja -DPARAVIEW_BUILD_EDITION=CATALYST_RENDERING \ - -DENABLE_osmesa=ON -DUSE_SYSTEM_osmesa=ON -DUSE_SYSTEM_python3=ON \ - -DUSE_SYSTEM_mpi=ON -DUSE_SYSTEM_llvm=ON \ + cmake \ + -GNinja \ + -DPARAVIEW_BUILD_EDITION=CATALYST_RENDERING \ + -DENABLE_osmesa=ON \ + -DUSE_SYSTEM_osmesa=ON \ + -DENABLE_python3=ON \ + -DUSE_SYSTEM_python3=ON \ + -DENABLE_mpi=ON \ + -DUSE_SYSTEM_mpi=ON \ + -DENABLE_llvm=ON \ + -DUSE_SYSTEM_llvm=ON \ -Dparaview_SOURCE_SELECTION=${PARAVIEW_VERSION} \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo $GITHUB_WORKSPACE/paraview-superbuild + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + $GITHUB_WORKSPACE/paraview-superbuild - name: Build run: ninja @@ -48,7 +57,7 @@ jobs: if-no-files-found: error release-paraview: - name: Create release and add build to it + name: Create release needs: build-paraview if: github.ref_type == 'tag' && startsWith(github.ref_name, 'v') runs-on: ubuntu-20.04