Skip to content

Commit 2b76542

Browse files
committed
Maintenance cycle R2024b
1 parent 7978d65 commit 2b76542

File tree

95 files changed

+662
-364
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+662
-364
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*.slmx binary merge=mlAutoMerge
1717
*.sltx binary
1818
*.slxc binary
19-
*.slx binary merge=mlAutoMerge
19+
*.slx binary merge=mlAutoMerge linguist-language=Simulink
2020
*.slxp binary
2121

2222
## Other common binary file types

.github/workflows/ci.yml

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
name: MATLAB Build
2+
3+
# Controls when the action will run.
4+
on:
5+
push:
6+
branches: [ release ]
7+
pull_request:
8+
branches: [ release ]
9+
workflow_dispatch:
10+
11+
# Add permission to write GitHub pages
12+
permissions:
13+
contents: write
14+
pages: write
15+
id-token: write
16+
17+
jobs:
18+
test:
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
MATLABVersion: [R2024a,R2024b]
23+
runs-on: ubuntu-latest
24+
steps:
25+
# Checks-out your repository
26+
- uses: actions/checkout@v4
27+
28+
# Sets up a display server
29+
- name: Start display server
30+
if: ${{ always() }}
31+
run: |
32+
sudo apt-get install xvfb
33+
Xvfb :99 &
34+
echo "DISPLAY=:99" >> $GITHUB_ENV
35+
36+
# Sets up MATLAB
37+
- name: Setup MATLAB
38+
uses: matlab-actions/setup-matlab@v2
39+
with:
40+
release: ${{ matrix.MATLABVersion }}
41+
products: Symbolic_Math_Toolbox
42+
43+
44+
# Run all the tests
45+
- name: Run SmokeTests
46+
uses: matlab-actions/run-command@v2
47+
with:
48+
command: openProject(pwd); RunAllTests;
49+
50+
# Upload the test results as artifact
51+
- name: Upload TestResults
52+
if: ${{ always() }}
53+
uses: actions/upload-artifact@v4
54+
with:
55+
name: TestResults_${{ matrix.MATLABVersion }}
56+
path: ./public/*
57+
overwrite: true
58+
59+
badge:
60+
if: ${{ always() }}
61+
needs: [test]
62+
strategy:
63+
fail-fast: false
64+
runs-on: ubuntu-latest
65+
steps:
66+
67+
# Checks-out your repository
68+
- uses: actions/checkout@v4
69+
70+
# Sets up R2023b
71+
- name: Setup MATLAB
72+
uses: matlab-actions/setup-matlab@v2
73+
with:
74+
release: R2024b
75+
76+
# Download the test results from artifact
77+
- name: Download All TestResults
78+
uses: actions/download-artifact@v4
79+
with:
80+
path: public
81+
pattern: TestResults_*
82+
merge-multiple: true
83+
84+
# Create the test results badge
85+
- name: Run PostSmokeTest
86+
uses: matlab-actions/run-command@v2
87+
with:
88+
command: openProject(pwd); PostSmokeTest;
89+
90+
# Deploy reports to GitHub pages
91+
- name: Setup Pages
92+
uses: actions/configure-pages@v5
93+
- name: Upload pages artifact
94+
uses: actions/upload-pages-artifact@v3
95+
with:
96+
path: public
97+
- name: Deploy to GitHub Pages
98+
id: deployment
99+
uses: actions/deploy-pages@v4
100+
101+
# Commit the JSON for the MATLAB releases badge
102+
- name: Commit changed files
103+
continue-on-error: true
104+
run: |
105+
git config user.name "${{ github.workflow }} by ${{ github.actor }}"
106+
git config user.email "<>"
107+
git pull
108+
git add Images/TestedWith.json
109+
git commit Images/TestedWith.json -m "Update CI badges ${{ github.ref_name }}"
110+
git fetch
111+
git push

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@ codegen/
4646

4747
# Project settings
4848
Utilities/ProjectSettings.mat
49+
50+
# GitLab page folder
51+
public/

.gitlab-ci.yml

Lines changed: 0 additions & 85 deletions
This file was deleted.
390 KB
Binary file not shown.
268 KB
Binary file not shown.
538 KB
Binary file not shown.

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2023, The MathWorks, Inc.
1+
Copyright (c) 2024, The MathWorks, Inc.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

MainMenu.mlx

-21 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)