Skip to content

Merge branch 'main' of github.com:d-SEAMS/seams-core #168

Merge branch 'main' of github.com:d-SEAMS/seams-core

Merge branch 'main' of github.com:d-SEAMS/seams-core #168

Workflow file for this run

name: "Build d-SEAMS and test"
on: [push, pull_request]
jobs:
build_pkg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Conda environment from environment.yml
uses: mamba-org/provision-with-micromamba@main
- name: Build application with cmake
shell: bash -l {0}
run: |
luarocks install luafilesystem
mkdir bbdir
cd bbdir
export CXXFLAGS="-I$CONDA_PREFIX/include/eigen3 -I$CONDA_PREFIX/include/"
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=YES -DCMAKE_INSTALL_PREFIX:PATH=$CONDA_PREFIX ../
make -j$(nproc)
make install
- name: Run a test
shell: bash -l {0}
run: |
$CONDA_PREFIX/bin/yodaStruct -c lua_inputs/config.yml