MMS Workaround for nonmonotonically increasing DFG #1021
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
# This is a basic CI build workflow using GitHub Actions | |
name: ci-build | |
# Controls when the action will run. | |
on: | |
# Triggers this workflow on push to master, devel, MMSdevel or SOdevel. Or pull requests to devel. | |
push: | |
branches: [ master, devel, MMSdevel, SOdevel ] | |
pull_request: | |
branches: [ devel ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# Job called "matlab" which runs selected tests for the latest version of MATLAB. | |
matlab: | |
# Runs Matlab | |
#runs-on: ubuntu-latest | |
## Specify ubuntu-24.04 (as per 2024-12-19T11:30CET) since "ubuntu-latest" is a moving target | |
# which may or may not have correct gfortran versions used for some compiled code in its repo. | |
# ("libgfortran5" used for tests of +whamp/ and contrib/libirbem/). | |
runs-on: ubuntu-24.04 | |
steps: | |
# Check-out repository | |
- uses: actions/checkout@v4 | |
# Install MATLAB (GitHub action provided by MathWorks) | |
- name: Set up MATLAB | |
uses: matlab-actions/setup-matlab@v2 | |
with: | |
products: MATLAB Parallel_Computing_Toolbox Image_Processing_Toolbox Financial_Toolbox Signal_Processing_Toolbox | |
# Install required runtime lib for Fortan (whamp mex file) | |
- name: Install libgfortran5 | |
run: | | |
sudo apt-get update | |
sudo apt-get install libgfortran5 | |
# Run MATLAB code | |
- name: Run commands | |
uses: matlab-actions/run-command@v2 | |
with: | |
command: tests_before_release; | |
# upload artifact (pdf report with plots, etc.) | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: test_report.pdf | |
path: ciPath/report.pdf | |
retention-days: 1 | |
# Job which runs tests for BICAS specifically (SOdevel, R2024a only). | |
matlab_BICAS: | |
# Runs Matlab | |
runs-on: ubuntu-latest | |
## Specify ubuntu-latest (as per 2024-12-19T11:30CET) since "ubuntu-latest" is a moving target | |
# but the SOdevel specific test is not dependent upon gfortran versions used for some compiled code in its repo. | |
# ("libgfortran5" used for tests of +whamp/ and contrib/libirbem/). | |
# Only run job on SOdevel to reduce amount of run time at GitHub (limited resource). | |
if: github.ref == 'refs/heads/SOdevel' | |
steps: | |
# Check-out repository | |
- uses: actions/checkout@v4 | |
# Install MATLAB (GitHub action provided by MathWorks) | |
- name: Set up MATLAB | |
uses: matlab-actions/setup-matlab@v2 | |
with: | |
# NOTE: The MATLAB version must be consistent with version supported | |
# by BICAS! | |
release: R2024a | |
products: MATLAB Parallel_Computing_Toolbox Image_Processing_Toolbox Financial_Toolbox Wavelet_Toolbox Signal_Processing_Toolbox | |
# Run MATLAB code | |
- name: Run commands | |
uses: matlab-actions/run-command@v2 | |
with: | |
command: tests_before_release_BICAS; | |
# Upload artifact (pdf report with plots, etc.) | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: test_report_BICAS.pdf | |
path: ciPath/report_BICAS.pdf | |
retention-days: 1 |