-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (30 loc) · 1.03 KB
/
heat_transfer_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Heat transfer CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 8 * * 2' # run once in a week (here Tue at 8am)
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: run test
run: |
command="sudo apt-get -y update && \
sudo apt-get -y upgrade && \
sudo apt-get -y install libboost-all-dev && \
git clone https://github.com/${{ github.repository }} && \
cd matrix-free-dealii-precice && \
git fetch origin ${{ github.ref }} && \
git checkout FETCH_HEAD && \
cd tests/heat && \
./run_tests.sh";
echo $command
docker pull dealii/dealii:master-jammy
docker pull precice/precice:nightly
docker build -t dealii-precice:develop -f ./utilities/Dockerfile .
docker run -t dealii-precice:develop /bin/sh -c "$command";