File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -350,3 +350,39 @@ jobs:
350
350
emmake make -C build qjs_wasm -j$(getconf _NPROCESSORS_ONLN)
351
351
- name : result
352
352
run : ls -lh build
353
+
354
+ cygwin :
355
+ runs-on : windows-latest
356
+ defaults :
357
+ run :
358
+ shell : C:\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
359
+ steps :
360
+ - name : Set up Cygwin
361
+ uses : cygwin/cygwin-install-action@master
362
+ with :
363
+ packages : make cmake gcc-g++ bash
364
+
365
+ - uses : actions/checkout@v3
366
+
367
+ - name : build
368
+
369
+ # Plain `make` fails here with this error:
370
+ # No rule to make target '/cygdrive/d/a/quickjs-ng/quickjs-ng/cutils.c',
371
+ # needed by 'CMakeFiles/qjs.dir/cutils.c.o'. Stop.
372
+ #
373
+ # For some reason, making the build directory then `make`ing in there
374
+ # fixes it.
375
+ run : |
376
+ cd $GITHUB_WORKSPACE
377
+ make build/CMakeCache.txt
378
+ make --directory build
379
+
380
+ - name : stats
381
+ run : |
382
+ cd $GITHUB_WORKSPACE
383
+ make --debug stats
384
+
385
+ - name : test
386
+ run : |
387
+ cd $GITHUB_WORKSPACE
388
+ make --debug test
You can’t perform that action at this time.
0 commit comments