Skip to content

typo and some quieter executions #11

typo and some quieter executions

typo and some quieter executions #11

Workflow file for this run

name: Test
on: [push]
jobs:
test_main:
# strategy:
# matrix:
runs-on: ubuntu-latest
steps:
- name: calculate cache key for the compilation
id: get-key
run: |
git clone --bare https://github.com/plumed/plumed2.git
stable=$(cd plumed2.git ; git branch --list 'v2.*' --sort='version:refname'| sed "s/^ *//" | grep '^v2\.[0-9]*$' | tail -n 1)
echo "key=$(cd plumed2.git ; git rev-parse "$stable")" >> $GITHUB_OUTPUT
- uses: actions/cache@v2
with:
path: ~/.ccache
key: ccache-${{ runner.os }}-stable-${{ steps.get-key.outputs.key }}
restore-keys: ccache-${{ runner.os }}-stable
- name: Install dependencies
run: |
sudo apt update
sudo apt install mpi-default-bin mpi-default-dev
sudo apt install libfftw3-dev gsl-bin libgsl0-dev libboost-serialization-dev
sudo apt install ccache
- name : install plumed
uses: Iximiel/install-plumed@main
with:
modules: 'reset'
dependency_path: '$GITHUB_WORKSPACE/_data/'
CC: 'ccache mpicc'
CXX: 'ccache mpic++'
id: plumed
- name: run plumed
run: |
echo "plumed path:${{ steps.plumed.outputs.path }}"
head ${{ steps.plumed.outputs.dependency_file }}
plumed --version
test_stable:
# strategy:
# matrix:
runs-on: ubuntu-latest
steps:
- uses: Iximiel/install-plumed@v1
- name: run plumed
run: |
plumed --version