Solid mechanics CI #257
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: Solid mechanics 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: 60 | |
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/solid && \ | |
./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"; |