Skip to content

Commit 0ddda64

Browse files
committed
UX feedback [skip ci]
1 parent 29c3c1e commit 0ddda64

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ jobs:
2727
matrix:
2828
os: [ubuntu-22.04]
2929
release: [R2022a, R2022b, R2023a, R2023b, R2024a, R2024b, R2025a]
30+
# on Linux, even R2025a needs GCC 10.x and hence Github Actions runner ubuntu-22.04
3031
include:
3132
- os: macos-latest
3233
release: R2025a
3334
- os: macos-latest
3435
release: R2023b
36+
# macOS R2023b to be compatible with Xcode version on Github Actions runner
3537
- os: windows-latest
3638
release: R2025a
3739
- os: windows-latest

buildfile.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ function build_exe(context)
140140
comp = getenv("FC");
141141
if isempty(comp)
142142
disp("set FC environment variable to the Fortran compiler path, or do 'mex -setup fortran'")
143+
if ismac()
144+
disp("on macOS, environment variables propagate in to GUI programs like Matlab by using 'launchctl setenv FC' and a reboot. Or by using 'FC=gfortran matlab -batch buildtool exe'")
145+
end
143146
end
144147
case "c++"
145148
comp = getenv("CXX");

0 commit comments

Comments
 (0)