1111 branches : [ master ]
1212
1313env :
14+ MKN_LIB_LINK_LIB : 1
1415 MKN_KUL_GIT_CO : --depth 1
1516 CURL_GET : curl -fL --retry 3 --retry-delay 2
1617 PATH_GET : https://github.com/mkn/mkn/releases/download/latest
@@ -19,21 +20,15 @@ jobs:
1920 ubuntu :
2021 runs-on : ubuntu-latest
2122 strategy :
22- fail-fast : false
23- max-parallel : 4
2423 matrix :
2524 python-version : ['3.14']
2625 steps :
2726 - uses : actions/checkout@v6
28-
2927 - uses : actions/setup-python@v6
3028 with :
3129 python-version : ${{ matrix.python-version }}
32- architecture : x64
33-
34- - env :
35- MKN_LIB_LINK_LIB : 1
36- run : |
30+ - run : |
31+ set -ex
3732 $CURL_GET -o mkn ${PATH_GET}/mkn_nix
3833 chmod +x mkn
3934 KLOG=3 ./mkn clean build run -dtOa "-std=c++20 -fPIC"
@@ -43,53 +38,38 @@ jobs:
4338 macos :
4439 runs-on : macos-latest
4540 strategy :
46- fail-fast : false
47- max-parallel : 4
4841 matrix :
4942 python-version : ['3.14']
5043 steps :
5144 - uses : actions/checkout@v6
52-
5345 - uses : actions/setup-python@v6
5446 with :
5547 python-version : ${{ matrix.python-version }}
56- architecture : x64
57-
58- - env :
59- MKN_LIB_LINK_LIB : 1
60- run : |
48+ - run : |
49+ set -ex
6150 $CURL_GET -o mkn ${PATH_GET}/mkn_arm_osx
6251 chmod +x mkn
6352 KLOG=3 ./mkn clean build run -dtOa "-std=c++20 -fPIC"
64- KLOG=3 ./mkn clean build -dtOa "-std=c++20 -fPIC" -p test_module
65- python3 -c "import test_module as tm; tm.lol()"
53+ KLOG=3 ./mkn clean build run -dtOa "-std=c++20 -fPIC" -p test
6654
6755 windows :
6856 runs-on : windows-latest
6957 strategy :
70- fail-fast : false
71- max-parallel : 4
7258 matrix :
7359 python-version : ['3.14']
7460 steps :
7561 - uses : actions/checkout@v6
76-
7762 - uses : actions/setup-python@v6
7863 with :
7964 python-version : ${{ matrix.python-version }}
80- architecture : x64
81-
8265 - uses : ilammy/msvc-dev-cmd@v1
83- with :
84- arch : amd64
85-
8666 - env :
8767 MKN_CL_PREFERRED : 1
88- shell : cmd
68+ shell : bash
8969 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'
95- python3 -c "import test_module as tm; tm.lol()"
70+ set -ex
71+ rm /bin/link
72+ $CURL_GET -o mkn.exe ${PATH_GET} /mkn.exe
73+ KLOG=3 ./mkn clean build run -dtOa "-EHsc -std:c++20"
74+ KLOG=3 ./mkn clean build run -dtOp test -a "-EHsc - std:c++20"
75+ KLOG=3 ./mkn clean build -dtOa "-std:c++20 -EHsc" -p test_module
0 commit comments