Commit 0228c0f 1 parent 682fa5d commit 0228c0f Copy full SHA for 0228c0f
File tree 3 files changed +24
-28
lines changed
3 files changed +24
-28
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,10 @@ jobs:
51
51
"${{ steps.matlab.outputs.matlabroot }}" ${{ matrix.host }} . staging
52
52
53
53
- name : Package
54
- if : false
55
54
run : zip -r ../alpaqa-matlab-${{ matrix.name }}.zip ./*
56
55
working-directory : staging
57
56
58
57
- name : Upload
59
- if : false
60
58
uses : actions/upload-artifact@v4
61
59
with :
62
60
name : alpaqa-matlab-${{ matrix.name }}
@@ -102,12 +100,10 @@ jobs:
102
100
"${{ steps.matlab.outputs.matlabroot }}" "${{ matrix.host }}" "." "staging"
103
101
104
102
- name : Package
105
- if : false
106
103
shell : pwsh
107
104
run : Compress-Archive -Path staging\* alpaqa-matlab-${{ matrix.name }}.zip
108
105
109
106
- name : Upload
110
- if : false
111
107
uses : actions/upload-artifact@v4
112
108
with :
113
109
name : alpaqa-matlab-${{ matrix.name }}
Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ for cfg in Release; do
28
28
-s build_type=$cfg
29
29
done
30
30
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
Original file line number Diff line number Diff line change @@ -47,16 +47,16 @@ for %%C in (Release) do (
47
47
)
48
48
49
49
:: 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
You can’t perform that action at this time.
0 commit comments