Commit 2c3ed6a 1 parent a482b05 commit 2c3ed6a Copy full SHA for 2c3ed6a
File tree 4 files changed +11
-6
lines changed
4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 16
16
include :
17
17
- os : ubuntu-22.04
18
18
name : glnxa64
19
- matlab-version : ' R2021a'
19
+ matlab-release : ' R2021a'
20
20
host : x86_64-bionic-linux-gnu
21
21
- os : macos-14
22
22
name : maca64
26
26
name : maci64
27
27
matlab-release : ' R2021a'
28
28
host : macos
29
+ fail-fast : false
29
30
runs-on : ${{ matrix.os }}
30
31
steps :
31
32
- uses : actions/checkout@v4
42
43
uses : matlab-actions/setup-matlab@64144ac4bb7c754f9ef7642f693671c873701c60
43
44
id : matlab
44
45
with :
45
- release : ${{ matrix.matlab-version }}
46
+ release : ${{ matrix.matlab-release }}
46
47
47
48
- name : Build
48
49
run : >
@@ -64,13 +65,15 @@ jobs:
64
65
with :
65
66
files : alpaqa-matlab-${{ matrix.name }}.zip
66
67
68
+ - run : conan cache clean
69
+
67
70
build-windows :
68
71
strategy :
69
72
matrix :
70
73
include :
71
74
- os : windows-2022
72
75
name : win64
73
- matlab-version : ' R2021a'
76
+ matlab-release : ' R2021a'
74
77
host : amd64
75
78
runs-on : ${{ matrix.os }}
76
79
steps :
@@ -88,12 +91,12 @@ jobs:
88
91
uses : matlab-actions/setup-matlab@64144ac4bb7c754f9ef7642f693671c873701c60
89
92
id : matlab
90
93
with :
91
- release : ${{ matrix.matlab-version }}
94
+ release : ${{ matrix.matlab-release }}
92
95
93
96
- name : Build
94
97
shell : cmd
95
98
run : >
96
- call scripts\ci\build-matlab-windows.bat
99
+ call .\ scripts\ci\build-matlab-windows.bat
97
100
"${{ steps.matlab.outputs.matlabroot }}" "${{ matrix.host }}" "." "staging"
98
101
99
102
- name : Package
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ set "out_dir=%~4"
18
18
if " %out_dir% " == " " set " out_dir = staging\matlab"
19
19
20
20
:: Source the Visual Studio environment
21
- set " vcvarsall_path = C:\Program Files\Microsoft Visual Studio\2022\Community \VC\Auxiliary\Build\vcvarsall.bat"
21
+ set " vcvarsall_path = C:\Program Files\Microsoft Visual Studio\2022\Enterprise \VC\Auxiliary\Build\vcvarsall.bat"
22
22
call " %vcvarsall_path% " %triple% || exit /b 1
23
23
24
24
:: Create Conan profiles
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ include(default)
4
4
os.version=11.0
5
5
6
6
[conf]
7
+ tools.build:skip_test=True
7
8
tools.cmake.cmaketoolchain:generator=Ninja Multi-Config
8
9
tools.build:compiler_executables*={"fortran": "FC-NOTFOUND" }
9
10
Original file line number Diff line number Diff line change 1
1
include(default)
2
2
3
3
[conf]
4
+ tools.build:skip_test=True
4
5
tools.build:cxxflags+=["/arch:AVX2"]
5
6
tools.build:cflags+=["/arch:AVX2"]
6
7
tools.cmake.cmaketoolchain:generator=Ninja Multi-Config
You can’t perform that action at this time.
0 commit comments