Skip to content

Commit

Permalink
Update matlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
acampbel authored Mar 21, 2024
1 parent 9fa233f commit 9cf90df
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/matlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
PRODUCT_LIST: MATLAB MATLAB_Test MATLAB_Compiler MATLAB_Compiler_SDK
# MLM_LICENSE_TOKEN: ${{secrets.MLM_LICENSE_TOKEN}}
MLM_LICENSE_TOKEN: ${{secrets.MLM_LICENSE_TOKEN}}


jobs:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
# This job executes only after a successful completion of 'mex-and-unittests' job
needs: mex-and-unittests

runs-on: ubuntu-latest
runs-on: macos-14

steps:
- uses: actions/checkout@v4
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Download artifacts from Linux last to guarantee incremental build
uses: actions/download-artifact@v4
with:
pattern: build-artifacts-ubuntu-latest
pattern: build-artifacts-macos-14
merge-multiple: true

- name: Build the toolbox, including all OS specific files
Expand All @@ -93,36 +93,36 @@ jobs:
path: release/Mass-Spring-Damper.mltbx


# deploy-service:
# # This job executes only after a successful completion of 'mex-and-unittests' job
# needs: mex-and-unittests
#
#
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v4
#
# - name: Setup MATLAB
# uses: matlab-actions/setup-matlab@v2
# with:
# release: latest-including-prerelease
# cache: true
# products: ${{ env.PRODUCT_LIST }}
#
# - name: Download Linux artifacts(to benefit from incremental build)
# uses: actions/download-artifact@v4
# with:
# pattern: build-artifacts-ubuntu-latest
# merge-multiple: true
#
# - name: Build the ctf archive and run equivalence integration tests
# uses: matlab-actions/run-build@v2
# with:
# tasks: deploy
#
# - name: Upload Production Server Archive
# uses: actions/upload-artifact@v4
# with:
# name: Mass-Spring-Damper Production Server Archive
# path: results/ctf-archive
deploy-service:
# This job executes only after a successful completion of 'mex-and-unittests' job
needs: mex-and-unittests


runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
with:
release: latest-including-prerelease
cache: true
products: ${{ env.PRODUCT_LIST }}

- name: Download Linux artifacts(to benefit from incremental build)
uses: actions/download-artifact@v4
with:
pattern: build-artifacts-ubuntu-latest
merge-multiple: true

- name: Build the ctf archive and run equivalence integration tests
uses: matlab-actions/run-build@v2
with:
tasks: deploy

- name: Upload Production Server Archive
uses: actions/upload-artifact@v4
with:
name: Mass-Spring-Damper Production Server Archive
path: results/ctf-archive

0 comments on commit 9cf90df

Please sign in to comment.