Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mirenradia committed Apr 22, 2022
1 parent 58a8912 commit 7250df5
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7250df5

Please sign in to comment.