Skip to content

Commit

Permalink
Merge pull request #130 from shimwell/adding_cubit_2021.11
Browse files Browse the repository at this point in the history
Adding cubit 2021.11
  • Loading branch information
gonuke authored Dec 16, 2021
2 parents 900131f + 816f8ba commit 453a290
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/unix_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
cubit: [2021.4, 2021.5]
cubit: [2021.4, 2021.5, 2021.11]
os: [ubuntu]
os_version: [20.04, 21.04]
include:
Expand All @@ -44,6 +44,10 @@ jobs:
os_version: '10.10' # using a 'string' here as the 0 gets rounded away otherwise
cubit: 2021.5

- os: debian
os_version: '10.10' # using a 'string' here as the 0 gets rounded away otherwise
cubit: 2021.11


name: 'Cubit ${{ matrix.cubit }} Build for ${{ matrix.os }} ${{ matrix.os_version }} of Svalinn Plugin'

Expand Down Expand Up @@ -81,6 +85,10 @@ jobs:
BASE=Coreform-Cubit-2021.5%2B15962_5043ef39
CUBIT_BASE_NAME=Coreform-Cubit-2021.5
HDF5_PATH=/usr/local/HDF_Group/HDF5/1.12.0
elif [ "${{ matrix.cubit }}" == "2021.11" ]; then
BASE=Coreform-Cubit-2021.11%2B21637_35609873
CUBIT_BASE_NAME=Coreform-Cubit-2021.11
HDF5_PATH=/usr/local/HDF_Group/HDF5/1.12.0
fi
SUFFIX=Lin64
Expand Down Expand Up @@ -171,3 +179,4 @@ jobs:
file: ${{ github.workspace }}/release/svalinn-plugin_${{ matrix.os }}-${{ matrix.os_version }}_cubit_${{ matrix.cubit }}.tgz
asset_name: svalinn-plugin_${{ matrix.os }}-${{ matrix.os_version }}_cubit_${{ matrix.cubit }}.tgz
tag: ${{ github.ref }}
overwrite: true
7 changes: 6 additions & 1 deletion .github/workflows/unix_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
runs-on: macos-10.15
strategy:
matrix:
cubit: [17.1.0, 2021.4, 2021.5]
cubit: [17.1.0, 2021.4, 2021.5, 2021.11]

name: 'Cubit ${{ matrix.cubit }} Build for MacOS of Svalinn Plugin'

Expand All @@ -59,6 +59,10 @@ jobs:
BASE=Coreform-Cubit-2021.5%2B15962_5043ef39
CUBIT_BASE_NAME=Coreform-Cubit-2021.5
HDF5_PATH=/usr/local/HDF_Group/HDF5/1.12.0
elif [ "${{ matrix.cubit }}" == "2021.11" ]; then
BASE=Coreform-Cubit-2021.11%2B21637_35609873
CUBIT_BASE_NAME=Coreform-Cubit-2021.11
HDF5_PATH=/usr/local/HDF_Group/HDF5/1.12.0
fi
SUFFIX=Mac64
Expand Down Expand Up @@ -147,3 +151,4 @@ jobs:
file: ${{ github.workspace }}/release/svalinn-plugin_${{env.OS}}_cubit_${{ matrix.cubit }}.tgz
asset_name: svalinn-plugin_${{env.OS}}_cubit_${{ matrix.cubit }}.tgz
tag: ${{ github.ref }}
overwrite: true
7 changes: 5 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: windows-2019
strategy:
matrix:
cubit: [17.1.0, 2021.3, 2021.4, 2021.5]
cubit: [17.1.0, 2021.3, 2021.4, 2021.5, 2021.11]

name: 'Cubit Svalinn Plugin ${{ matrix.cubit }} Build for Windows'
steps:
Expand All @@ -62,7 +62,10 @@ jobs:
BASE=Coreform-Cubit-2021.4%2B15017_05893177
elif [ "${{ matrix.cubit }}" == "2021.5" ]; then
BASE=Coreform-Cubit-2021.5%2B15962_5043ef39
elif [ "${{ matrix.cubit }}" == "2021.11" ]; then
BASE=Coreform-Cubit-2021.11%2B21637_35609873
fi
echo "COREFORM_BASE_URL=${COREFORM_BASE_URL}/Windows/" >> $GITHUB_ENV
echo "CUBIT_PKG=${BASE}-Win64.exe" >> $GITHUB_ENV
echo "CUBIT_SDK_PKG=${BASESDK}-Win64.zip" >> $GITHUB_ENV
Expand Down Expand Up @@ -210,4 +213,4 @@ jobs:
file: C:/Users/runneradmin/svalinn_plugin_windows_${{ matrix.cubit }}.zip
asset_name: svalinn_plugin_windows_${{ matrix.cubit }}.zip
tag: ${{ github.ref }}

overwrite: true
2 changes: 1 addition & 1 deletion scripts/unix_share_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function linux_setup_cubit() {
cd ${FOLDER_PKG}
$SUDO apt-get install -y ./${CUBIT_PKG}

if [ "$1" == "2021.3" ] || [ "$1" == "2021.4" ] || [ "$1" == "2021.5" ] ; then
if [ "$1" == "2021.3" ] || [ "$1" == "2021.4" ] || [ "$1" == "2021.5" ] || [ "$1" == "2021.11" ] ; then
return
fi

Expand Down

0 comments on commit 453a290

Please sign in to comment.