-
Notifications
You must be signed in to change notification settings - Fork 1
66 lines (62 loc) · 2.12 KB
/
Copy pathdev-manual.yml
File metadata and controls
66 lines (62 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Copyright 2026 The MathWorks, Inc.
name: Dev Manual
on:
workflow_dispatch:
inputs:
mode:
description: "What to run"
type: choice
options:
- build
- build-and-test
- test
required: true
image_type:
description: "Image type"
type: choice
options:
- 'matlab'
- 'runtime'
required: true
matlab_release:
description: "MATLAB Release (e.g., R2026a)"
type: string
default: 'R2026a'
required: true
databricks_runtime:
description: "Databricks Runtime Version (e.g., 17.3)"
type: string
default: '17.3'
required: true
matlab_update:
description: "MATLAB Update (e.g., U4). Empty = latest update for MATLAB, base release for Runtime."
type: string
default: ''
required: false
docker_image:
description: "Full MATLAB Docker image tag, required for test mode"
type: string
required: false
permissions:
contents: read
packages: write
jobs:
build:
if: ${{ github.event.repository.private && github.event.inputs.mode != 'test' }}
uses: ./.github/workflows/docker-pipeline.yml
with:
image_type: ${{ github.event.inputs.image_type }}
matlab_release: ${{ github.event.inputs.matlab_release }}
matlab_update: ${{ github.event.inputs.matlab_update }}
databricks_runtime: ${{ github.event.inputs.databricks_runtime }}
run_integration: ${{ github.event.inputs.mode == 'build-and-test' && github.event.inputs.image_type == 'matlab' }}
secrets: inherit
test_from_existing_image:
if: ${{ github.event.repository.private && github.event.inputs.image_type == 'matlab' && github.event.inputs.mode == 'test' }}
uses: ./.github/workflows/run-integration-tests.yml
with:
docker_image: ${{ github.event.inputs.docker_image }}
matlab_release: ${{ github.event.inputs.matlab_release }}
matlab_update: ${{ github.event.inputs.matlab_update }}
databricks_runtime: ${{ github.event.inputs.databricks_runtime }}
secrets: inherit