From 0aa5a4388d8c5042ab5a8670e853f9d65743c33d Mon Sep 17 00:00:00 2001 From: Taylor McDonnell Date: Mon, 25 Oct 2021 15:38:07 -0600 Subject: [PATCH] try pinpointing CI issue --- mexjulia/jl.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mexjulia/jl.m b/mexjulia/jl.m index 8c100ee..565b6cb 100644 --- a/mexjulia/jl.m +++ b/mexjulia/jl.m @@ -141,13 +141,13 @@ function init() ' isfile(startupfile) && Base.JLOptions().startupfile != 2 && Base.include(Main, startupfile) ',... 'end ')); - % add MATLAB.jl - if getenv('CI') - mexjulia(true, 'using Pkg; Pkg.add("MATLAB");') - end + mexjulia(true, 'using Pkg') + + mexjulia(true, 'using Mex') + + mexjulia(true, 'Pkg.add("MATLAB")'); - % load required packages - mexjulia(true, 'using MATLAB, Mex'); + mexjulia(true, 'using MATLAB') % restore the path if ispc