-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use separate GitHub Actions workflow files (.github/workflows/*.yml) …
…for Linux, Windows, and MacOS.
- Loading branch information
1 parent
628a552
commit 00436b5
Showing
13 changed files
with
99 additions
and
17 deletions.
There are no files selected for viewing
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# GitHub Actions Workflow with MATLAB Actions | ||
# | ||
# For a general overview of GitHub Actions, see | ||
# https://docs.github.com/en/actions | ||
# | ||
# For using MathWorks products in GitHub Actions, see | ||
# https://github.com/matlab-actions/overview | ||
# | ||
# For details about the syntax of this file, see | ||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | ||
|
||
# Copyright 2025 The MathWorks, Inc. | ||
|
||
name: CI using MATLAB on Windows | ||
|
||
on: | ||
push: | ||
branches: [ R2024b ] | ||
paths-ignore: | ||
- 'docs/**' | ||
- '**.md' | ||
- '**.png' | ||
- '**.svg' | ||
- '**.txt' | ||
- '**.xml' | ||
|
||
pull_request: | ||
branches: [ R2024b ] | ||
paths-ignore: | ||
- 'docs/**' | ||
- '**.md' | ||
- '**.png' | ||
- '**.svg' | ||
- '**.txt' | ||
- '**.xml' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
job-buildtool: | ||
|
||
runs-on: windows-latest | ||
|
||
strategy: | ||
matrix: | ||
matlab_version: [R2024b] | ||
#matlab_version: [R2024b, R2025a] | ||
|
||
name: Test in ${{ matrix.matlab_version }} on Windows | ||
|
||
steps: | ||
|
||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup MATLAB ${{ matrix.matlab_version }} | ||
uses: matlab-actions/setup-matlab@v2 | ||
with: | ||
release: ${{ matrix.matlab_version }} | ||
cache: true | ||
products: | | ||
Simulink | ||
Simscape | ||
Simscape_Electrical | ||
Simscape_Driveline | ||
Powertrain_Blockset | ||
- name: Run buildtool using buildfile.m | ||
uses: matlab-actions/run-command@v2 | ||
with: | ||
command: | | ||
openProject(pwd); | ||
buildtool CodeIssues CheckProject Test |
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
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
resources/project/p2B2kuKn-TR4inf0L2-zoGElvj0/aZYxD8nTBzPgLpCts6dscwbdFl8p.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Info location="ci-linux.yml" type="File"/> |
2 changes: 2 additions & 0 deletions
2
resources/project/p2B2kuKn-TR4inf0L2-zoGElvj0/dB8eZgH-6RSB0ntgzgiF_zw3pzkd.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Info/> |
2 changes: 2 additions & 0 deletions
2
resources/project/p2B2kuKn-TR4inf0L2-zoGElvj0/dB8eZgH-6RSB0ntgzgiF_zw3pzkp.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Info location="ci-mac.yml" type="File"/> |
2 changes: 0 additions & 2 deletions
2
resources/project/p2B2kuKn-TR4inf0L2-zoGElvj0/geuseqfzde5lmCB2PlA6wD238ucd.xml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
resources/project/p2B2kuKn-TR4inf0L2-zoGElvj0/geuseqfzde5lmCB2PlA6wD238ucp.xml
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
resources/project/p2B2kuKn-TR4inf0L2-zoGElvj0/qxYWHwxLkN5QQl8sSOeo4RWoxfod.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Info/> |
2 changes: 2 additions & 0 deletions
2
resources/project/p2B2kuKn-TR4inf0L2-zoGElvj0/qxYWHwxLkN5QQl8sSOeo4RWoxfop.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Info location="ci-windows.yml" type="File"/> |
2 changes: 0 additions & 2 deletions
2
resources/project/p2B2kuKn-TR4inf0L2-zoGElvj0/u8asqt2ouqLgwSPtiA3_eAUwkE0p.xml
This file was deleted.
Oops, something went wrong.