Skip to content

Updated to copy runtest script into Ambertools/src/quick when QUICK i… #810

Updated to copy runtest script into Ambertools/src/quick when QUICK i…

Updated to copy runtest script into Ambertools/src/quick when QUICK i… #810

Workflow file for this run

name: Serial Build
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
make-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install deps
run: sudo apt-get -y install gfortran
- name: Configure serial
run: ./configure --serial --enablef --prefix $PWD/install gnu
- name: Build serial
run: make
- name: Install serial
run: make install
- name: Set environment variables
run: echo "QUICK_HOME=$PWD/install" >> $GITHUB_ENV
- name: Test serial
run: make fulltest
- name: Archive test results
if: always()
uses: actions/upload-artifact@v2
with:
name: serial-tests
path: /home/runner/work/QUICK/QUICK/install/test/runs/serial
retention-days: 3
- uses: actions/download-artifact@v2
with:
name: serial-tests
- name: Display structure of artifacts
run: ls -R
cmake-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install deps
run: |
sudo apt-get update
sudo apt-get -y install gfortran cmake
- name: Configure serial
run: |
mkdir build
cd build
cmake .. -DCOMPILER=GNU -DENABLEF=TRUE -DCMAKE_INSTALL_PREFIX=$(pwd)/../install
- name: Build serial
run: |
cd build
make -j2 install
- name: Set environment variables
run: echo "QUICK_HOME=$PWD/install" >> $GITHUB_ENV
- name: Test serial
run: |
cd install
./runtest --serial --full
- name: Archive test results
if: always()
uses: actions/upload-artifact@v2
with:
name: serial-tests
path: /home/runner/work/QUICK/QUICK/install/test/runs/serial
retention-days: 3