diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index cb92dde..d23821a 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -12,50 +12,50 @@ jobs: runs-on: ubuntu-20.04 steps: - - name: Checkout ParaView - run: | - git clone -b v${PARAVIEW_VERSION} --depth 1 --recursive https://gitlab.kitware.com/paraview/paraview-superbuild.git + - name: Checkout ParaView + run: | + git clone -b v${PARAVIEW_VERSION} --depth 1 --recursive https://gitlab.kitware.com/paraview/paraview-superbuild.git - - name: Install dependencies - run: | - sudo apt-get update - sudo apt-get -y install build-essential libgl1-mesa-dev \ - libxt-dev python3-dev python3-numpy libopenmpi-dev libtbb-dev \ - ninja-build libosmesa6 libosmesa6-dev llvm-12-dev - sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-12 12 + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get -y install build-essential libgl1-mesa-dev \ + libxt-dev python3-dev python3-numpy libopenmpi-dev libtbb-dev \ + ninja-build libosmesa6 libosmesa6-dev llvm-12-dev + sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-12 12 - - name: Configure - run: | - mkdir $PARAVIEW_SUPERBUILD_DIR - cd $PARAVIEW_SUPERBUILD_DIR - 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 + - name: Configure + run: | + mkdir $PARAVIEW_SUPERBUILD_DIR + cd $PARAVIEW_SUPERBUILD_DIR + 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 - - name: Build - run: ninja - working-directory: ${{ env.PARAVIEW_SUPERBUILD_DIR }} + - name: Build + run: ninja + working-directory: ${{ env.PARAVIEW_SUPERBUILD_DIR }} - - name: Package - run: tar -czvf paraview-v${PARAVIEW_VERSION}.tar.gz -C $PARAVIEW_SUPERBUILD_DIR/install . + - name: Package + run: tar -czvf paraview-v${PARAVIEW_VERSION}.tar.gz -C $PARAVIEW_SUPERBUILD_DIR/install . - - name: Upload package - uses: actions/upload-artifact@v2 - with: - name: paraview-v${{ env.PARAVIEW_VERSION }} - path: paraview-v${{ env.PARAVIEW_VERSION }}.tar.gz - if-no-files-found: error + - name: Upload package + uses: actions/upload-artifact@v2 + with: + name: paraview-v${{ env.PARAVIEW_VERSION }} + path: paraview-v${{ env.PARAVIEW_VERSION }}.tar.gz + if-no-files-found: error release-paraview: name: Create release