Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbuzinski authored Mar 13, 2024
1 parent 9dc88a7 commit 03e74c1
Showing 1 changed file with 24 additions and 47 deletions.
71 changes: 24 additions & 47 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,58 +1,35 @@
version: 2.1
orbs:
matlab: mathworks/matlab@dev:v1-beta
codecov: codecov/[email protected]


win: circleci/[email protected]
matlab: mathworks/matlab@1

executors:
linux:
machine:
image: ubuntu-2204:2024.01.1
macos:
macos:
xcode: 15.1.0
resource_class: macos.x86.medium.gen2
windows:
win/default

jobs:
test:
build:
parameters:
version:
description: "MATLAB version"
default: "latest"
type: string
machine:
image: ubuntu-2204:current
os:
type: executor
executor: << parameters.os >>
steps:
- checkout
- matlab/install:
release: <<parameters.version>>
products: |
MATLAB
Simulink
Image_Processing_Toolbox
Instrument_Control_Toolbox
MATLAB_Coder
Mapping_Toolbox
Optimization_Toolbox
Partial_Differential_Equation_Toolbox
Statistics_and_Machine_Learning_Toolbox
Symbolic_Math_Toolbox
- matlab/run-command:
command: ver
- matlab/run-tests:
test-results-junit: artifacts/junit/testResults.xml
test-results-pdf: artifacts/test-report.pdf
test-results-html: artifacts/test-report.html
code-coverage-cobertura: artifacts/coverage/codeCoverage.xml
code-coverage-html: artifacts/coverage/html
# Leverage the build tool to execute your pipeline (requires a buildfile.m in your repo root)
#- matlab/run-build:
# tasks: test
- store_test_results:
path: artifacts/junit
- store_artifacts:
path: artifacts
- codecov/upload:
file: artifacts/coverage/codeCoverage.xml
- matlab/install
- matlab/run-build:
tasks: markdown jupyter


workflows:
matrix-tests:
tests-on-all-platforms:
jobs:
- test:
name: test-<<matrix.version>>
- build:
matrix:
parameters:
version:
- R2023b
os: [linux, macos, windows]

0 comments on commit 03e74c1

Please sign in to comment.