File tree 2 files changed +38
-0
lines changed
2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,23 @@ pipeline {
27
27
}
28
28
}
29
29
30
+ stage(' x86_64 windows vs2022' ) {
31
+ agent { label ' windows11 && vs2022' }
32
+ options { skipDefaultCheckout() }
33
+ steps {
34
+ cleanWs()
35
+ checkout scm
36
+ bat """
37
+ call "C:\\ Program Files\\ Microsoft Visual Studio\\ 2022\\ Community\\ VC\\ Auxiliary\\ Build\\ vcvars64.bat"
38
+ if not %ERRORLEVEL% == 0 exit /b %ERRORLEVEL%
39
+ call "winbuild-msvc.bat" -DCMAKE_BUILD_TYPE=Release -DSLEEF_SHOW_CONFIG=1 -DSLEEF_BUILD_DFT=TRUE -DSLEEF_BUILD_QUAD=TRUE -DSLEEF_ENFORCE_SSE2=TRUE -DSLEEF_ENFORCE_SSE4=TRUE -DSLEEF_ENFORCE_AVX=TRUE -DSLEEF_ENFORCE_AVX2=TRUE -DSLEEF_ENFORCE_AVX512F=TRUE -DSLEEF_ENABLE_TESTER4=True
40
+ if not %ERRORLEVEL% == 0 exit /b %ERRORLEVEL%
41
+ ctest -j 4 --output-on-failure
42
+ exit /b %ERRORLEVEL%
43
+ """
44
+ }
45
+ }
46
+
30
47
stage(' riscv linux gcc-13' ) {
31
48
agent { label ' riscv && ubuntu23' }
32
49
options { skipDefaultCheckout() }
Original file line number Diff line number Diff line change
1
+ @ echo off
2
+ if " %INSTALLDIR% " == " " set INSTALLDIR = ..\..\sleef_install
3
+
4
+ if NOT exist winbuild-msvc.bat exit /b 255
5
+
6
+ if " %VSCMD_ARG_HOST_ARCH% " == " " (
7
+ echo Run this batch file from Developer Command Prompt for VS 20XX
8
+ exit /b 255
9
+ )
10
+
11
+ if %VSCMD_ARG_HOST_ARCH% == x86 call " %VCINSTALLDIR% Auxiliary\Build\vcvars64.bat"
12
+
13
+ if exist build\ rmdir /S /Q build
14
+ mkdir build
15
+ cd build
16
+ if exist %INSTALLDIR% \ rmdir /S /Q %INSTALLDIR%
17
+ cmake .. -GNinja -DCMAKE_INSTALL_PREFIX=%INSTALLDIR% %*
18
+ if not errorlevel 0 exit /b 255
19
+ cmake -E time ninja
20
+ if not errorlevel 0 exit /b 255
21
+ ninja install
You can’t perform that action at this time.
0 commit comments