Skip to content

Run regression tests with latest solver release #3

Run regression tests with latest solver release

Run regression tests with latest solver release #3

Workflow file for this run

# SPDX-FileCopyrightText: 2023 SAP SE
#
# SPDX-License-Identifier: Apache-2.0
#
# This file is part of FEDEM - https://openfedem.org
name: Regression testing
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
install-and-test:
name: Download solvers and execute tests
runs-on: ubuntu-22.04
steps:
- name: Download latest FEDEM release
uses: robinraju/release-downloader@v1
with:
repository: openfedem/fedem-solvers
fileName: '*_linux64.tar.gz'
latest: true
extract: true
- name: Silence some advice and hint
run: |
git config --global advice.detachedHead false
git config --global init.defaultBranch main
ls -l ./bin # List the downloaded files
- name: Check out source repository
uses: actions/checkout@v4
with:
clean: false # Avoid deleting downloaded files
show-progress: false
- name: Configure tests
run: >
cmake -S ./Test -B ./build -DCMAKE_BUILD_TYPE=Release
-DUSE_FFTPACK=ON -DFT_LARGE_MODELS=OFF -DFT_TOLERANCE=1.0e-10
- name: Execute tests
run: >
PATH=$PATH:./bin LD_LIBRARY_PATH=./bin
cmake --build ./build --target check