Skip to content

build shared libraries #33

build shared libraries

build shared libraries #33

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
steps:
- name: checkout
uses: actions/checkout@v4
with:
path: g2tmpl
submodules: true
- name: build
run: |
cd g2tmpl
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=~/g2tmpl/install ..
make -j2 VERBOSE=1
- name: test
run: |
cd $GITHUB_WORKSPACE/g2tmpl/build
ctest --verbose --output-on-failure --rerun-failed
make install