Skip to content

Commit 1f1c123

Browse files
committed
250731.013331.PDT correct test_matlab*.yml
1 parent 55f3cbc commit 1f1c123

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.github/workflows/test_matlab.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ jobs:
151151
if [[ "${{ matrix.os }}" = "windows-"* ]] ; then
152152
if [[ "${{ matrix.matlab }}" = "R2020"* || "${{ matrix.matlab }}" = "R2021"* || "${{ matrix.matlab }}" = "R2022"* || "${{ matrix.matlab }}" = "R2023"* ]] ; then
153153
ONEAPI_VERSION=2023
154-
else if [[ "${{ matrix.matlab }}" = "R2024"* ]] ; then
155-
ONEAPI_VERSION=2024
154+
elif [[ "${{ matrix.matlab }}" = "R2024"* ]] ; then
155+
ONEAPI_VERSION=2025
156156
fi
157157
fi
158158
echo "ONEAPI_VERSION=$ONEAPI_VERSION" >> $GITHUB_ENV

.github/workflows/test_matlab_linux.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,13 @@ jobs:
107107
- name: Decide the version of oneAPI to use
108108
shell: bash
109109
run: |
110+
# Initialize the variable ONEAPI_VERSION to an empty string, which means the default version
110111
ONEAPI_VERSION=
111112
if [[ "${{ matrix.os }}" = "windows-"* ]] ; then
112113
if [[ "${{ matrix.matlab }}" = "R2020"* || "${{ matrix.matlab }}" = "R2021"* || "${{ matrix.matlab }}" = "R2022"* || "${{ matrix.matlab }}" = "R2023"* ]] ; then
113114
ONEAPI_VERSION=2023
115+
elif [[ "${{ matrix.matlab }}" = "R2024"* ]] ; then
116+
ONEAPI_VERSION=2024
114117
fi
115118
fi
116119
echo "ONEAPI_VERSION=$ONEAPI_VERSION" >> $GITHUB_ENV

.github/workflows/test_matlab_mac_intel.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,13 @@ jobs:
6767
- name: Decide the version of oneAPI to use
6868
shell: bash
6969
run: |
70+
# Initialize the variable ONEAPI_VERSION to an empty string, which means the default version
7071
ONEAPI_VERSION=
7172
if [[ "${{ matrix.os }}" = "windows-"* ]] ; then
7273
if [[ "${{ matrix.matlab }}" = "R2020"* || "${{ matrix.matlab }}" = "R2021"* || "${{ matrix.matlab }}" = "R2022"* || "${{ matrix.matlab }}" = "R2023"* ]] ; then
7374
ONEAPI_VERSION=2023
75+
elif [[ "${{ matrix.matlab }}" = "R2024"* ]] ; then
76+
ONEAPI_VERSION=2024
7477
fi
7578
fi
7679
echo "ONEAPI_VERSION=$ONEAPI_VERSION" >> $GITHUB_ENV

.github/workflows/test_matlab_windows.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,13 @@ jobs:
6767
- name: Decide the version of oneAPI to use
6868
shell: bash
6969
run: |
70+
# Initialize the variable ONEAPI_VERSION to an empty string, which means the default version
7071
ONEAPI_VERSION=
7172
if [[ "${{ matrix.os }}" = "windows-"* ]] ; then
7273
if [[ "${{ matrix.matlab }}" = "R2020"* || "${{ matrix.matlab }}" = "R2021"* || "${{ matrix.matlab }}" = "R2022"* || "${{ matrix.matlab }}" = "R2023"* ]] ; then
7374
ONEAPI_VERSION=2023
75+
elif [[ "${{ matrix.matlab }}" = "R2024"* ]] ; then
76+
ONEAPI_VERSION=2024
7477
fi
7578
fi
7679
echo "ONEAPI_VERSION=$ONEAPI_VERSION" >> $GITHUB_ENV

0 commit comments

Comments
 (0)