From f0496d98cb2e0aacf696ed24a4b16d20d17342ea Mon Sep 17 00:00:00 2001 From: AlanGanem Date: Wed, 6 Apr 2022 00:22:26 -0300 Subject: [PATCH] added sudo to git actions clauses --- .github/workflows/gromacs_build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gromacs_build.yml b/.github/workflows/gromacs_build.yml index a516f6174b..689bc907d1 100644 --- a/.github/workflows/gromacs_build.yml +++ b/.github/workflows/gromacs_build.yml @@ -7,8 +7,8 @@ jobs: #checks out - uses: actions/checkout@v3 #update and isntal wget and git - - run: apt update && apt-get -y install wget git + - run: sudo apt update && sudo apt-get -y install wget git #install cmake - - run: apt-get -y install build-essential libssl-dev cmake + - run: sudo apt-get -y install build-essential libssl-dev cmake #build - - run: mkdir build && cd build && cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON && make && make check ; sudo make install && source /usr/local/gromacs/bin/GMXRC + - run: mkdir build && cd build && sudo cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON && sudo make && sudo make check ; sudo make install && sudo source /usr/local/gromacs/bin/GMXRC