Skip to content

Commit 487cb83

Browse files
authored
Setup Azure Pipelines and update MATLAB releases (#2)
1 parent 0d8fe6c commit 487cb83

File tree

6 files changed

+23
-15
lines changed

6 files changed

+23
-15
lines changed

.circleci/CrossPlatformBuilder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ workflows:
4848
matrix:
4949
parameters:
5050
os: [linux, macos, windows]
51-
release: ["R2024a", "R2024b"]
51+
release: ["R2024b", "R2025a"]

.github/workflows/CrossPlatformBuilder.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Cross-Platform Python Package Build
33
on:
44
push:
55
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
workflow_dispatch:
610

711
# Utilizes repository-stored secrets for MATLAB's batch-token licensing
812
env:
@@ -16,7 +20,7 @@ jobs:
1620
strategy:
1721
matrix:
1822
os: [ubuntu-latest, windows-latest, macos-latest]
19-
release: [R2024a, R2024b]
23+
release: [R2024b, R2025a]
2024

2125
# The type of runner that the job will run on
2226
runs-on: ${{ matrix.os }}

.github/workflows/ToolboxDistribution.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Compile, Test and Release toolbox
33
on:
44
push:
55
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
workflow_dispatch:
610

711
jobs:
812
# This workflow contains two jobs called "compile-and-test-mex" and "create-and-release-toolbox"
@@ -68,7 +72,7 @@ jobs:
6872
tasks: packageToolbox
6973

7074
# The packaged toolbox is distributed as a GitHub release
71-
- name: Create relase and upload asset
75+
- name: Create release and upload asset
7276
run: |
7377
gh release create ${{github.run_id}} --title "Cross-Platform Array Product Toolbox" toolbox.mltbx
7478
env:

AzureDevOps/CrossPlatformBuilder.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@ jobs:
33
# Matrix strategy to run builds across different OS and MATLAB release combinations
44
strategy:
55
matrix:
6-
linux-R2024a:
7-
imageName: ubuntu-latest
8-
release: R2024a
96
linux-R2024b:
107
imageName: ubuntu-latest
118
release: R2024b
12-
mac-R2024a:
13-
imageName: macOS-latest
14-
release: R2024a
9+
linux-R2025a:
10+
imageName: ubuntu-latest
11+
release: R2025a
1512
mac-R2024b:
1613
imageName: macOS-latest
1714
release: R2024b
18-
windows-R2024a:
19-
imageName: windows-latest
20-
release: R2024a
15+
mac-R2025a:
16+
imageName: macOS-latest
17+
release: R2025a
2118
windows-R2024b:
2219
imageName: windows-latest
23-
release: R2024b
20+
release: R2024b
21+
windows-R2025a:
22+
imageName: windows-latest
23+
release: R2025a
2424
pool:
2525
vmImage: $(imageName)
2626
steps:

AzureDevOps/ToolboxDistribution.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
# The packaged toolbox is distributed as a GitHub release
6464
- task: GitHubRelease@1
6565
inputs:
66-
gitHubConnection: MathWorks
66+
gitHubConnection: advanced-ci-configuration-examples
6767
title: "Cross-Platform Array Product Toolbox"
6868
assets: 'toolbox.mltbx'
6969
tagSource: 'userSpecifiedTag'

Jenkins/CrossPlatformBuilder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pipeline {
1111
}
1212
axis {
1313
name 'RELEASE'
14-
values 'R2024a', 'R2024b'
14+
values 'R2024b', 'R2025a'
1515
}
1616
}
1717
stages {

0 commit comments

Comments
 (0)