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
+ steps :
357
+ - name : Set up Cygwin
358
+ uses : cygwin/cygwin-install-action@master
359
+ with :
360
+ packages : make cmake gcc-g++ bash
361
+
362
+ - uses : actions/checkout@v3
363
+
364
+ - name : build
365
+ shell : C:\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
366
+
367
+ # Plain `make` fails here with this error:
368
+ # No rule to make target '/cygdrive/d/a/quickjs-ng/quickjs-ng/cutils.c',
369
+ # needed by 'CMakeFiles/qjs.dir/cutils.c.o'. Stop.
370
+ #
371
+ # For some reason, making the build directory then `make`ing in there
372
+ # fixes it.
373
+ run : |
374
+ cd $GITHUB_WORKSPACE
375
+ make build/CMakeCache.txt
376
+ make --directory build
377
+
378
+ - name : stats
379
+ shell : C:\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
380
+ run : |
381
+ cd $GITHUB_WORKSPACE
382
+ make --debug stats
383
+
384
+ - name : test
385
+ shell : C:\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
386
+ run : |
387
+ cd $GITHUB_WORKSPACE
388
+ make --debug test
You can’t perform that action at this time.
0 commit comments