5
5
pull_request :
6
6
push :
7
7
tags :
8
- - ' v*.*.*'
8
+ - " v*.*.*"
9
9
branches :
10
10
- master
11
11
- develop
@@ -18,25 +18,25 @@ jobs:
18
18
strategy :
19
19
matrix :
20
20
buildtype : [debug] # TODO: [debug, release]
21
-
21
+
22
22
env :
23
23
LTTNG_UST_REGISTER_TIMEOUT : 0
24
24
NUGET_XMLDOC_MODE : skip
25
- DOTNET_CLI_TELEMETRY_OPTOUT : ' true'
25
+ DOTNET_CLI_TELEMETRY_OPTOUT : " true"
26
26
27
27
steps :
28
28
- name : Check out the repository
29
29
uses : actions/checkout@v2
30
30
with :
31
31
fetch-depth : 0
32
32
33
- - name : Uninstall NodeJS and NPM
33
+ - name : Uninstall NodeJS and NPM
34
34
run : |
35
35
npm uninstall npm -g
36
36
rm -rf /usr/local/lib/node_modules/npm
37
37
38
38
# TODO: This must go in metacall-environment-macos.sh as base dependencies
39
- - name : Configure Clang
39
+ - name : Configure Clang
40
40
run : |
41
41
brew install llvm cmake git wget gnupg ca-certificates
42
42
@@ -51,13 +51,18 @@ jobs:
51
51
cd build
52
52
bash ../tools/metacall-configure.sh $METACALL_CONFIGURE_OPTIONS
53
53
env :
54
- METACALL_CONFIGURE_OPTIONS : ${{ matrix.buildtype }} scripts ports tests sanitizer # nodejs python java sanitizer ruby netcore5 typescript file rpc wasm java c cobol rust examples dynamic install pack benchmarks # v8 coverage
54
+ METACALL_CONFIGURE_OPTIONS : ${{ matrix.buildtype }} scripts ports tests sanitizer python # nodejs python java sanitizer ruby netcore5 typescript file rpc wasm java c cobol rust examples dynamic install pack benchmarks # v8 coverage
55
55
56
56
- name : Build
57
57
working-directory : ./build
58
58
# TODO: Remove the disable option for fork safe once funchook problem is solved
59
59
run : |
60
- cmake -DOPTION_FORK_SAFE=OFF ..
60
+ cmake -DOPTION_FORK_SAFE=OFF \
61
+ -DPython_INCLUDE_DIRS="$HOME/.pyenv/versions/3.11.1/include/python3.11" \
62
+ -DPython_LIBRARY="$HOME/.pyenv/versions/3.11.1/lib/libpython3.11.dylib" \
63
+ -DPython_EXECUTABLE="$HOME/.pyenv/versions/3.11.1/bin/python3.11" \
64
+ -DPython_ROOT="$HOME/.pyenv/versions/3.11.1" \
65
+ -DPython_VERSION="3.11.1" ..
61
66
bash ../tools/metacall-build.sh $METACALL_BUILD_OPTIONS
62
67
env :
63
68
METACALL_BUILD_OPTIONS : ${{ matrix.buildtype }} tests
0 commit comments