Skip to content

fix error make_covariance_block_diagonal_in_* #295

fix error make_covariance_block_diagonal_in_*

fix error make_covariance_block_diagonal_in_* #295

Workflow file for this run

name: CMake
on: [push]
#on:
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: DEBUG
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Setup SSH Keys and known_hosts
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
- name: submodules
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: git submodule update --init --recursive
- name: eigen
run: sudo apt-get install -y libeigen3-dev
#- name: fftw
# run: sudo apt-get install libfftw3-bin libfftw3-long3 libfftw3-quad3 libfftw3-single3 libfftw3-dev libfftw3-doc
- name: gsl
run: sudo apt-get install -y libgsl-dev
- name: python.h
run: sudo apt-get install python3-dev # for python3.x installs
- name: configure
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
shell: bash
working-directory: ${{github.workspace}}
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. \
-DWITH_PYTHON=ON \
-DGM2_PROJECT=ON \
-DCMAKE_INSTALL_PREFIX=$(pwd)/install_dir
- name: compiling
working-directory: ${{github.workspace}}/build
run: make
- name: installing
working-directory: ${{github.workspace}}/build
run: make install
- name: test phi4
working-directory: ${{github.workspace}}/build
run: |
cd phi4
./phi4_new read_plateaux -p ../../tests/phi4 G2t_T48_L20_msq0-4.925000_msq1-4.850000_l02.500000_l12.500000_mu5.000000_g0.000000_rep0_bin40_merged_bin1000 -bin 1 jack > /dev/null
./test ../../tests/phi4/jackknife/jack_G2t_T48_L20_msq0-4.925000_msq1-4.850000_l02.500000_l12.500000_mu5.000000_g0.000000_rep0_reference ../../tests/phi4/jackknife/jack_G2t_T48_L20_msq0-4.925000_msq1-4.850000_l02.500000_l12.500000_mu5.000000_g0.000000_rep0
- name: test minimizer
working-directory: ${{github.workspace}}/build
run: |
cd tests
./fit_as_minimiser
- name: test non_linear_fit_Nf
working-directory: ${{github.workspace}}/build
run: |
cd tests
./test_non_linear_fit
- name: test GEVP
working-directory: ${{github.workspace}}/build
run: |
cd tests
./test_GEVP
- name: test creation of a new project
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
shell: bash
working-directory: ${{github.workspace}}
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: |
bash create_project.sh test_project -DCMAKE_BUILD_TYPE=$BUILD_TYPE
cd ../test_project
cd build
bash do_cmake.sh
make