Skip to content

Commit

Permalink
Update to checkoutv3. Move preCICE installation to separate stage.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcfehling committed Apr 13, 2023
1 parent 8709286 commit 5a1faf1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/precice-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
branches: [ master ]
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'

jobs:
build:
Expand All @@ -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
Expand Down

0 comments on commit 5a1faf1

Please sign in to comment.