Skip to content

added new parameters for Table4.2-3-1,4-8,10-0,10-1,10-2, 10-4. #2

added new parameters for Table4.2-3-1,4-8,10-0,10-1,10-2, 10-4.

added new parameters for Table4.2-3-1,4-8,10-0,10-1,10-2, 10-4. #2

Workflow file for this run

name: Linux
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
Linux:
runs-on: ubuntu-latest
env:
FC: gfortran
CC: gcc
strategy:
matrix:
config:
- {
options: "-DCMAKE_BUILD_TYPE=Debug"
}
- {
options: "-DBUILD_SHARED_LIBS=ON"
}
steps:
- name: checkout
uses: actions/checkout@v4
with:
path: g2tmpl
submodules: true
- name: build
run: |
cd g2tmpl
mkdir build
cd build
cmake ${{ matrix.config.options }} -DCMAKE_INSTALL_PREFIX=~/g2tmpl/install ..
make -j2 VERBOSE=1
- name: test
run: |
set -x
cd $GITHUB_WORKSPACE/g2tmpl/build
ctest --verbose --output-on-failure --rerun-failed
make install
if [ "${{ matrix.config.options }}" = "-DBUILD_SHARED_LIBS=ON" ]; then
ls -l ~/g2tmpl/install/lib/lib*.so || exit 1
else
ls -l ~/g2tmpl/install/lib/lib*.a || exit 1
fi