File tree Expand file tree Collapse file tree 1 file changed +79
-0
lines changed Expand file tree Collapse file tree 1 file changed +79
-0
lines changed Original file line number Diff line number Diff line change 1+ name : SSR for Windows, using MSYS2
2+ on : [push, pull_request]
3+ jobs :
4+ build-win :
5+ runs-on : windows-latest
6+ defaults :
7+ run :
8+ shell : msys2 {0}
9+ steps :
10+ - name : Install MSYS2
11+ uses : msys2/setup-msys2@v2
12+ with :
13+ msystem : UCRT64
14+ pacboy : >-
15+ asio:p
16+ autotools:p
17+ cmake:p
18+ fftw:p
19+ fmt:p
20+ glew:p
21+ jack2:p
22+ libsndfile:p
23+ libmysofa:p
24+ libxml2:p
25+ mesa:p
26+ qt5-base:p
27+ vrpn:p
28+ yarn:p
29+ - name : checkout websocketpp
30+ uses : actions/checkout@v3
31+ with :
32+ repository : zaphoyd/websocketpp
33+ path : websocketpp
34+ - name : Get SSR source code
35+ uses : actions/checkout@v3
36+ with :
37+ submodules : true
38+ path : ssr
39+ - name : autogen
40+ working-directory : ssr
41+ run : |
42+ ./autogen.sh
43+ - name : configure
44+ working-directory : ssr
45+ run : |
46+ CONFIGURE_OPTIONS=(
47+ --enable-browser-gui
48+ --enable-fudi-interface
49+ --enable-gui
50+ --enable-ip-interface
51+ #--enable-polhemus
52+ #--enable-razor
53+ --enable-sofa
54+ #--enable-vrpn
55+ --enable-websocket-interface
56+ --disable-ecasound
57+ --disable-intersense
58+ CPPFLAGS="-I/ucrt64/include -I`pwd`/../websocketpp -D_WEBSOCKETPP_CPP11_THREAD_"
59+ LDFLAGS=-L/ucrt64/lib
60+ LIBS="-lws2_32 -lwsock32 -lglu32 -lopengl32"
61+ )
62+ ./configure --disable-dependency-tracking "${CONFIGURE_OPTIONS[@]}"
63+ - name : upload config.log
64+ if : failure()
65+ uses : actions/upload-artifact@v3
66+ with :
67+ name : config.log
68+ path : ssr/config.log
69+ - name : make
70+ working-directory : ssr
71+ run : |
72+ make
73+ # TODO: run "make install" (specifying a suitable installation location)
74+ # and then upload all installed files
75+ - name : upload executables
76+ uses : actions/upload-artifact@v3
77+ with :
78+ name : executables
79+ path : ssr/src/ssr-*
You can’t perform that action at this time.
0 commit comments