Commit fa1a46a 1 parent 3bd9c99 commit fa1a46a Copy full SHA for fa1a46a
File tree 2 files changed +50
-1
lines changed
2 files changed +50
-1
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,55 @@ jobs:
104
104
name : soh-linux
105
105
path : build-cmake/src/*.a
106
106
if-no-files-found : error
107
+ build-linux-no-mpq :
108
+ runs-on : ubuntu-latest
109
+ steps :
110
+ - uses : actions/checkout@v2
111
+ - name : Install dependencies
112
+ run : |
113
+ sudo apt-get update
114
+ sudo apt-get install -y $(cat .github/workflows/apt-deps.txt)
115
+ - name : ccache
116
+ uses :
hendrikmuhs/[email protected]
117
+ with :
118
+ key : ${{ matrix.os }}-ccache-${{ github.ref }}-${{ github.sha }}
119
+ restore-keys : |
120
+ ${{ matrix.os }}-ccache-${{ github.ref }}
121
+ ${{ matrix.os }}-ccache-
122
+ - name : Install latest SDL
123
+ run : |
124
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
125
+ wget https://www.libsdl.org/release/SDL2-2.24.1.tar.gz
126
+ tar -xzf SDL2-2.24.1.tar.gz
127
+ cd SDL2-2.24.1
128
+ ./configure
129
+ make -j 10
130
+ sudo make install
131
+ - name : Install latest tinyxml2
132
+ run : |
133
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
134
+ wget https://github.com/leethomason/tinyxml2/archive/refs/tags/10.0.0.tar.gz
135
+ tar -xzf 10.0.0.tar.gz
136
+ cd tinyxml2-10.0.0
137
+ mkdir build
138
+ cd build
139
+ cmake ..
140
+ make
141
+ sudo make install
142
+ - name : Build libultraship
143
+ run : |
144
+ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
145
+ cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release -DMPQ_SUPPORT=FALSE
146
+ cmake --build build-cmake --config Release --parallel 10
147
+ env :
148
+ CC : gcc-10
149
+ CXX : g++-10
150
+ - name : Upload build
151
+ uses : actions/upload-artifact@v3
152
+ with :
153
+ name : soh-linux
154
+ path : build-cmake/src/*.a
155
+ if-no-files-found : error
107
156
build-windows :
108
157
runs-on : windows-latest
109
158
steps :
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ include(cmake/Utils.cmake)
24
24
set (ADDITIONAL_LIB_INCLUDES "" )
25
25
26
26
# ========= Configuration Options =========
27
- set (MPQ_SUPPORT FALSE CACHE BOOL "Include StormLib and support using MPQ archives" )
27
+ set (MPQ_SUPPORT TRUE CACHE BOOL "Include StormLib and support using MPQ archives" )
28
28
if (MPQ_SUPPORT)
29
29
add_compile_definitions (MPQ_SUPPORT)
30
30
endif ()
You can’t perform that action at this time.
0 commit comments