Skip to content

specifying the installation directory #2

specifying the installation directory

specifying the installation directory #2

Workflow file for this run

on:
workflow_dispatch:
push:
branches: nested_sampling
name: Build and Install
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get install -y xtensor-dev
sudo apt-get install -y libeigen3-dev
sudo apt-get install -y libyaml-cpp-dev
sudo apt-get install -y libboost-all-dev
- name: Configure
run: |
cmake \
-B ./build/ \
-S ./ \
-DCMAKE_PREFIX_PATH=./install_dir
- name: Build and install
run: make -j$(nproc) install
working-directory: build