Skip to content

Update Jenkinsfile #331

Update Jenkinsfile

Update Jenkinsfile #331

Workflow file for this run

# 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