From 5a1faf13292c126045798260bcf4f1c02506f1b4 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Fri, 7 Apr 2023 21:25:33 -0600 Subject: [PATCH] Update to checkoutv3. Move preCICE installation to separate stage. --- .github/workflows/precice-ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/precice-ci.yml b/.github/workflows/precice-ci.yml index 6beeb0e..6a89c4e 100644 --- a/.github/workflows/precice-ci.yml +++ b/.github/workflows/precice-ci.yml @@ -6,7 +6,7 @@ on: pull_request: branches: [ master ] schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: build: @@ -24,13 +24,16 @@ jobs: options: --user root steps: - - uses: actions/checkout@v2 + - name: Install preCICE + run: | + sudo apt-get -y update + wget https://github.com/precice/precice/releases/download/v2.4.0/libprecice2_2.4.0_focal.deb + sudo apt-get -y install ./libprecice2_2.4.0_focal.deb + + - uses: actions/checkout@v3 - name: Compile run: | - sudo apt-get -y update - wget https://github.com/precice/precice/releases/download/v2.3.0/libprecice2_2.3.0_focal.deb - sudo apt-get -y install ./libprecice2_2.3.0_focal.deb cd coupled_laplace_problem cmake . make -- 2.39.5