Update Jenkinsfile #331
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 workflow runs a matrix build with both versions of setup MATLAB action | |
name: MATLAB matrix build | |
# Controls when the action will run. | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
nogpu: | |
strategy: | |
matrix: | |
# Run this workflow on different os | |
os: [ubuntu-22.04, macos-12, macos-14] | |
fail-fast: false | |
# The type of runner that the job will run on | |
runs-on: ${{ matrix.os }} | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Setup MATLAB | |
uses: matlab-actions/setup-matlab@v2 | |
with: | |
products: "Parallel_Computing_Toolbox --no-gpu" | |
- name: Run MATLAB Command | |
uses: matlab-actions/run-command@v2 | |
with: | |
command: ver | |
gpu: | |
strategy: | |
matrix: | |
# Run this workflow on different os | |
os: [ubuntu-22.04, macos-12, macos-14] | |
fail-fast: false | |
# The type of runner that the job will run on | |
runs-on: ${{ matrix.os }} | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Setup MATLAB | |
uses: matlab-actions/setup-matlab@v2 | |
with: | |
products: "Parallel_Computing_Toolbox" | |
- name: Run MATLAB Command | |
uses: matlab-actions/run-command@v2 | |
with: | |
command: ver |