diff --git a/.github/workflows/ellipsoid-ode45-finest-output-cic.yml b/.github/workflows/ellipsoid-ode45-finest-output-cic.yml new file mode 100644 index 00000000..0a6270a4 --- /dev/null +++ b/.github/workflows/ellipsoid-ode45-finest-output-cic.yml @@ -0,0 +1,45 @@ +name: Ellipsoid ode45 finest RegularCIC with coarser output + +on: + pull_request: + paths: + - '.github/workflows/ellipsoid-ode45-finest-output-cic.yml' + - 'tests/matlab/ellipsoid_ode45_finest_output.m' + workflow_dispatch: + +jobs: + regular_cic: + runs-on: ubuntu-latest + timeout-minutes: 120 + steps: + - uses: actions/checkout@v7 + - uses: actions/checkout@v7 + with: + repository: WEC-Sim/WEC-Sim + ref: 0753b2e47f2457c078751dcfe5d251d1767b80ab + path: matlab-ref + filter: blob:none + sparse-checkout: source + - uses: actions/checkout@v7 + with: + repository: WEC-Sim/WEC-Sim_Applications + ref: d53d4d4c9eda2581f04204f5d394a6ef84bb099e + path: applications + filter: blob:none + lfs: true + sparse-checkout: Nonlinear_Hydro + - uses: matlab-actions/setup-matlab@v3 + with: + release: R2025b + products: Simulink Simscape Simscape_Multibody + - uses: matlab-actions/run-command@v3 + with: + command: addpath('tests/matlab'); ellipsoid_ode45_finest_output('RegularCIC') + - uses: actions/upload-artifact@v4 + if: always() + with: + name: ellipsoid-ode45-finest-output-RegularCIC + path: | + matlab-ellipsoid-ode45-finest-output/RegularCIC/ + applications/Nonlinear_Hydro/hydroData/ellipsoid.h5 + applications/Nonlinear_Hydro/geometry/elipsoid.stl