File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed
src/ic3/minisat/minisat/utils Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -190,3 +190,43 @@ jobs:
190
190
run : make -C regression/verilog test-z3
191
191
- name : Print ccache stats
192
192
run : ccache -s
193
+
194
+ # This job takes approximately 17 minutes
195
+ check-ubuntu-24_04-make-emcc :
196
+ name : Emscripten build
197
+ runs-on : ubuntu-24.04
198
+ steps :
199
+ - uses : actions/checkout@v4
200
+ with :
201
+ submodules : recursive
202
+ - name : Fetch dependencies
203
+ env :
204
+ # This is needed in addition to -yq to prevent apt-get from asking for
205
+ # user input
206
+ DEBIAN_FRONTEND : noninteractive
207
+ run : |
208
+ sudo apt-get update
209
+ sudo apt-get install --no-install-recommends -yq emscripten flex bison libxml2-utils cpanminus ccache
210
+ - name : Prepare ccache
211
+ uses : actions/cache@v4
212
+ with :
213
+ path : .ccache
214
+ save-always : true
215
+ key : ${{ runner.os }}-24.04-make-emcc-${{ github.ref }}-${{ github.sha }}-PR
216
+ restore-keys : |
217
+ ${{ runner.os }}-24.04-make-emcc-${{ github.ref }}
218
+ ${{ runner.os }}-24.04-make-emcc
219
+ - name : ccache environment
220
+ run : |
221
+ echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
222
+ echo "CCACHE_DIR=$PWD/.ccache" >> $GITHUB_ENV
223
+ - name : Zero ccache stats and limit in size
224
+ run : ccache -z --max-size=500M
225
+ - name : Get minisat
226
+ run : make -C lib/cbmc/src minisat2-download
227
+ - name : Build with make
228
+ run : make -C src -j4 CXX="ccache emcc" HOSTCXX="ccache g++" BUILD_ENV=Unix LINKLIB="emar rc \$@ \$^" AR="emar" EXEEXT=".html"
229
+ - name : print version number via node.js
230
+ run : node --no-experimental-fetch src/ebmc/ebmc.js --version
231
+ - name : Print ccache stats
232
+ run : ccache -s
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ double IctMinisat::memUsedPeak(bool) { return memUsed(); }
91
91
92
92
#else
93
93
double IctMinisat::memUsed () { return 0 ; }
94
- double IctMinisat::memUsedPeak () { return 0 ; }
94
+ double IctMinisat::memUsedPeak (bool ) { return 0 ; }
95
95
#endif
96
96
97
97
You can’t perform that action at this time.
0 commit comments