Skip to content

Commit 244d716

Browse files
committed
[CI] temporarily install Matlab dependencies only
1 parent a482b05 commit 244d716

File tree

3 files changed

+28
-24
lines changed

3 files changed

+28
-24
lines changed

.github/workflows/matlab.yml

+4
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ jobs:
5050
"${{ steps.matlab.outputs.matlabroot }}" ${{ matrix.host }} . staging
5151
5252
- name: Package
53+
if: false
5354
run: zip -r ../alpaqa-matlab-${{ matrix.name }}.zip ./*
5455
working-directory: staging
5556

5657
- name: Upload
58+
if: false
5759
uses: actions/upload-artifact@v4
5860
with:
5961
name: alpaqa-matlab-${{ matrix.name }}
@@ -97,10 +99,12 @@ jobs:
9799
"${{ steps.matlab.outputs.matlabroot }}" "${{ matrix.host }}" "." "staging"
98100
99101
- name: Package
102+
if: false
100103
shell: pwsh
101104
run: Compress-Archive -Path staging\* alpaqa-matlab-${{ matrix.name }}.zip
102105

103106
- name: Upload
107+
if: false
104108
uses: actions/upload-artifact@v4
105109
with:
106110
name: alpaqa-matlab-${{ matrix.name }}

scripts/ci/build-matlab-linux.sh

+11-11
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ for cfg in Release; do
2828
-s build_type=$cfg
2929
done
3030

31-
# Build MATLAB bindings
32-
pushd "$pkg_dir"
33-
cmake --preset conan-matlab-release \
34-
-D CMAKE_FIND_ROOT_PATH="$matlab_dir" \
35-
-D CMAKE_C_COMPILER_LAUNCHER=sccache \
36-
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache
37-
cmake --build --preset conan-matlab-release \
38-
-t alpaqa_mex -v
39-
cmake --install build/matlab-release \
40-
--component mex_interface --prefix "$out_dir"
41-
popd
31+
# # Build MATLAB bindings
32+
# pushd "$pkg_dir"
33+
# cmake --preset conan-matlab-release \
34+
# -D CMAKE_FIND_ROOT_PATH="$matlab_dir" \
35+
# -D CMAKE_C_COMPILER_LAUNCHER=sccache \
36+
# -D CMAKE_CXX_COMPILER_LAUNCHER=sccache
37+
# cmake --build --preset conan-matlab-release \
38+
# -t alpaqa_mex -v
39+
# cmake --install build/matlab-release \
40+
# --component mex_interface --prefix "$out_dir"
41+
# popd

scripts/ci/build-matlab-windows.bat

+13-13
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ for %%C in (Release) do (
4747
)
4848

4949
:: Build MATLAB bindings
50-
pushd "%pkg_dir%"
51-
cmake --preset conan-matlab-release ^
52-
-D CMAKE_FIND_ROOT_PATH="%matlab_dir%" ^
53-
-D CMAKE_C_COMPILER_LAUNCHER=sccache ^
54-
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache ^
55-
|| exit /b 1
56-
cmake --build --preset conan-matlab-release ^
57-
-t alpaqa_mex -v ^
58-
|| exit /b 1
59-
cmake --install build\matlab-release ^
60-
--component mex_interface --prefix "%out_dir%" ^
61-
|| exit /b 1
62-
popd
50+
:: pushd "%pkg_dir%"
51+
:: cmake --preset conan-matlab-release ^
52+
:: -D CMAKE_FIND_ROOT_PATH="%matlab_dir%" ^
53+
:: -D CMAKE_C_COMPILER_LAUNCHER=sccache ^
54+
:: -D CMAKE_CXX_COMPILER_LAUNCHER=sccache ^
55+
:: || exit /b 1
56+
:: cmake --build --preset conan-matlab-release ^
57+
:: -t alpaqa_mex -v ^
58+
:: || exit /b 1
59+
:: cmake --install build\matlab-release ^
60+
:: --component mex_interface --prefix "%out_dir%" ^
61+
:: || exit /b 1
62+
:: popd

0 commit comments

Comments
 (0)