Skip to content

Commit 6d415ab

Browse files
committed
WIP CI fixes.
1 parent c27d0ef commit 6d415ab

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

tests/quickjs/premake5.lua

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
local qjs_dir = path.getabsolute("./runtime")
2-
local runtime = "../../src/Generator/Generators/QuickJS/Runtime"
1+
local cppsharp_qjs_runtime = "../../src/Generator/Generators/QuickJS/cppsharp_qjs_runtime"
32

43
workspace "qjs"
54
configurations { "debug", "release" }
@@ -13,13 +12,13 @@ workspace "qjs"
1312
files
1413
{
1514
"gen/**.cpp",
16-
runtime .. "/*.cpp",
17-
runtime .. "/*.c"
15+
cppsharp_qjs_runtime .. "/*.cpp",
16+
cppsharp_qjs_runtime .. "/*.c"
1817
}
1918
includedirs
2019
{
21-
qjs_dir,
22-
runtime,
20+
"runtime",
21+
cppsharp_qjs_runtime,
2322
"..",
2423
"../../include"
2524
}

tests/quickjs/test.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ configuration=debug
77
platform=x64
88
jsinterp="$dir/runtime/build/qjs"
99

10-
if [ $CI = "true" ]; then
10+
cd $dir
11+
12+
if [ "$CI" = "true" ]; then
1113
red=""
1214
green=""
1315
reset=""
@@ -28,7 +30,7 @@ fi
2830
echo "${green}Building generated binding files${reset}"
2931
premake=$rootdir/build/premake.sh
3032
config=$configuration $premake --file=$dir/premake5.lua gmake
31-
make -C $dir/gen
33+
verbose=true make -C $dir/gen
3234
echo
3335

3436
echo "${green}Executing JS tests with QuickJS${reset}"

0 commit comments

Comments
 (0)