Heat transfer CI #259
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
container: | |
image: dealii/dealii:master-jammy | |
options: --user root | |
timeout-minutes: 30 | |
steps: | |
- name: prepare container | |
run: sudo apt-get -y update && sudo apt-get -y upgrade && sudo apt-get -y install libboost-all-dev | |
- name: build preCICE | |
uses: precice/setup-precice-action@main | |
with: | |
precice-version: develop | |
install-prefix: /usr/local | |
- uses: actions/checkout@v4 | |
- name: Adjust user rights | |
run: | | |
chown -R dealii . | |
cd tests/heat | |
echo "WORK_DIR=$(pwd)" >> $GITHUB_ENV | |
- name: run test | |
run: | | |
cd $WORK_DIR && sudo -u dealii ./run_tests.sh | |
env: | |
WORK_DIR: ${{ env.WORK_DIR }} |