Skip to content

Commit

Permalink
Build paraview
Browse files Browse the repository at this point in the history
  • Loading branch information
rohith-radhakrishnan18 committed Jan 19, 2024
1 parent 3337e88 commit 0b3522f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 11 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build_smtk.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

export SOURCE_DIR=/opt/axion/source
export INSTALL_DIR=/opt/axion/axionsdk
export BUILD_DIR=/opt/axion/build

mkdir -p $SOURCE_DIR
mkdir -p $INSTALL_DIR
mkdir -p $BUILD_DIR

sudo apt-get install cmake \
ninja \
build_essential \
libgl1-mesa-dev \
qtbase5-dev

git clone https://gitlab.kitware.com/cmb/cmb-superbuild.git $SOURCE_DIR
cd $SOURCE_DIR
git submodule update --init --recursive


cmake -GNinja \
-DENABLE_python3:BOOL=ON \
-DENABLE_pybind11:BOOL=ON \
-DUSE_SYSTEM_qt5:BOOL=ON \
-S $SOURCE_DIR \
-B $BUILD_DIR \
-Dsuperbuild_install_location=$INSTALL_DIR

cmake --build $BUILD_DIR --target paraview

16 changes: 5 additions & 11 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ name: "CodeQL"

on:
push:
pull_request:
branches: [ "master" ]
schedule:
- cron: '41 22 * * 3'

jobs:
analyze:
Expand Down Expand Up @@ -62,20 +58,18 @@ jobs:
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3



# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
- run: |
echo "Run, Build Application using script"
./build_smtk.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Expand Down

0 comments on commit 0b3522f

Please sign in to comment.