From 03e74c16d7d1f4ed2844cbc5d96788c71516d2c8 Mon Sep 17 00:00:00 2001 From: David Buzinski <103441853+davidbuzinski@users.noreply.github.com> Date: Wed, 13 Mar 2024 11:30:10 -0400 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 71 +++++++++++++++----------------------------- 1 file changed, 24 insertions(+), 47 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5804826..1a6a603 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,58 +1,35 @@ version: 2.1 orbs: - matlab: mathworks/matlab@dev:v1-beta - codecov: codecov/codecov@3.2.3 - - + win: circleci/windows@5.0 + 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: <> - 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-<> + - build: matrix: parameters: - version: - - R2023b + os: [linux, macos, windows]