1111 branches : [ master ]
1212
1313env :
14+ MKN_LIB_LINK_LIB : 1
15+ MKN_PYTHON_LIB_EMBED : 1
1416 MKN_KUL_GIT_CO : --depth 1
1517 CURL_GET : curl -fL --retry 3 --retry-delay 2
1618 PATH_GET : https://github.com/mkn/mkn/releases/download/latest
@@ -19,21 +21,15 @@ jobs:
1921 ubuntu :
2022 runs-on : ubuntu-latest
2123 strategy :
22- fail-fast : false
23- max-parallel : 4
2424 matrix :
2525 python-version : ['3.14']
2626 steps :
2727 - uses : actions/checkout@v6
28-
2928 - uses : actions/setup-python@v6
3029 with :
3130 python-version : ${{ matrix.python-version }}
32- architecture : x64
33-
34- - env :
35- MKN_LIB_LINK_LIB : 1
36- run : |
31+ - run : |
32+ set -ex
3733 $CURL_GET -o mkn ${PATH_GET}/mkn_nix
3834 chmod +x mkn
3935 KLOG=3 ./mkn clean build run -dtOa "-std=c++20 -fPIC"
@@ -43,53 +39,39 @@ jobs:
4339 macos :
4440 runs-on : macos-latest
4541 strategy :
46- fail-fast : false
47- max-parallel : 4
4842 matrix :
4943 python-version : ['3.14']
5044 steps :
5145 - uses : actions/checkout@v6
52-
5346 - uses : actions/setup-python@v6
5447 with :
5548 python-version : ${{ matrix.python-version }}
56- architecture : x64
57-
58- - env :
59- MKN_LIB_LINK_LIB : 1
60- run : |
49+ - run : |
50+ set -ex
6151 $CURL_GET -o mkn ${PATH_GET}/mkn_arm_osx
6252 chmod +x mkn
6353 KLOG=3 ./mkn clean build run -dtOa "-std=c++20 -fPIC"
54+ KLOG=3 ./mkn clean build run -dtOa "-std=c++20 -fPIC" -p test
6455 KLOG=3 ./mkn clean build -dtOa "-std=c++20 -fPIC" -p test_module
6556 python3 -c "import test_module as tm; tm.lol()"
6657
6758 windows :
6859 runs-on : windows-latest
6960 strategy :
70- fail-fast : false
71- max-parallel : 4
7261 matrix :
7362 python-version : ['3.14']
7463 steps :
7564 - uses : actions/checkout@v6
76-
7765 - uses : actions/setup-python@v6
7866 with :
7967 python-version : ${{ matrix.python-version }}
80- architecture : x64
81-
8268 - uses : ilammy/msvc-dev-cmd@v1
83- with :
84- arch : amd64
85-
86- - env :
87- MKN_CL_PREFERRED : 1
88- shell : cmd
69+ - shell : bash
8970 run : | # /bin/link interferes with cl/link.exe
90- bash -c "rm /bin/link"
91- bash -c '$CURL_GET -o mkn.exe ${PATH_GET}/mkn.exe'
92- bash -c 'KLOG=3 ./mkn clean build run -dtOa "-EHsc -std:c++20"'
93- bash -c 'KLOG=3 ./mkn clean build run -dtOp test -a "-EHsc -std:c++20"'
94- bash -c 'KLOG=3 ./mkn clean build -dtOa "-std:c++20 -EHsc" -p test_module'
71+ set -ex
72+ rm /bin/link
73+ $CURL_GET -o mkn.exe ${PATH_GET}/mkn.exe
74+ KLOG=3 ./mkn clean build run -dtOa "-EHsc -std:c++20"
75+ KLOG=3 ./mkn clean build run -dtOp test -a "-EHsc -std:c++20"
76+ KLOG=3 ./mkn clean build -dtOa "-std:c++20 -EHsc" -p test_module
9577 python3 -c "import test_module as tm; tm.lol()"
0 commit comments