File tree 2 files changed +16
-24
lines changed
2 files changed +16
-24
lines changed Original file line number Diff line number Diff line change @@ -365,27 +365,19 @@ jobs:
365
365
- uses : actions/checkout@v3
366
366
367
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
368
run : |
376
369
cd $GITHUB_WORKSPACE
377
- make build/CMakeCache.txt
378
- make --directory build
370
+ make
379
371
380
372
- name : stats
381
373
run : |
382
374
cd $GITHUB_WORKSPACE
383
- make --debug stats
375
+ make stats
384
376
385
377
- name : test
386
378
run : |
387
379
cd $GITHUB_WORKSPACE
388
- make --debug test
380
+ make test
389
381
390
382
openbsd :
391
383
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -32,15 +32,15 @@ QJS=$(BUILD_DIR)/qjs
32
32
RUN262 =$(BUILD_DIR ) /run-test262
33
33
34
34
35
- all : build
35
+ all : $( QJS )
36
36
37
- build : $(BUILD_DIR ) /CMakeCache.txt
38
- cmake --build $(BUILD_DIR ) -j $(JOBS )
39
-
40
- $(BUILD_DIR ) /CMakeCache.txt :
37
+ $(BUILD_DIR ) :
41
38
cmake -B $(BUILD_DIR ) -DCMAKE_BUILD_TYPE=$(BUILD_TYPE )
42
39
43
- install : build
40
+ $(QJS ) : $(BUILD_DIR )
41
+ cmake --build $(BUILD_DIR ) -j $(JOBS )
42
+
43
+ install : $(QJS )
44
44
cmake --build $(BUILD_DIR ) --target install
45
45
46
46
clean :
@@ -52,10 +52,10 @@ debug:
52
52
distclean :
53
53
@rm -rf $(BUILD_DIR )
54
54
55
- stats : build
55
+ stats : $( QJS )
56
56
$(QJS ) -qd
57
57
58
- test : build
58
+ test : $( QJS )
59
59
$(QJS ) tests/test_bigint.js
60
60
$(QJS ) tests/test_closure.js
61
61
$(QJS ) tests/test_language.js
@@ -65,19 +65,19 @@ test: build
65
65
$(QJS ) tests/test_worker.js
66
66
$(QJS ) tests/test_queue_microtask.js
67
67
68
- test262 : build
68
+ test262 : $( QJS )
69
69
$(RUN262 ) -m -c test262.conf -a
70
70
71
- test262-update : build
71
+ test262-update : $( QJS )
72
72
$(RUN262 ) -u -c test262.conf -a
73
73
74
- test262-check : build
74
+ test262-check : $( QJS )
75
75
$(RUN262 ) -m -c test262.conf -E -a
76
76
77
- microbench : build
77
+ microbench : $( QJS )
78
78
$(QJS ) tests/microbench.js
79
79
80
- unicode_gen : $(BUILD_DIR ) /CMakeCache.txt
80
+ unicode_gen : $(BUILD_DIR )
81
81
cmake --build $(BUILD_DIR ) --target unicode_gen
82
82
83
83
libunicode-table.h : unicode_gen
You can’t perform that action at this time.
0 commit comments