@@ -19,21 +19,17 @@ jobs:
1919 ubuntu :
2020 runs-on : ubuntu-latest
2121 strategy :
22- fail-fast : false
23- max-parallel : 4
2422 matrix :
2523 python-version : ['3.14']
2624 steps :
2725 - uses : actions/checkout@v6
28-
2926 - uses : actions/setup-python@v6
3027 with :
3128 python-version : ${{ matrix.python-version }}
32- architecture : x64
33-
3429 - env :
3530 MKN_LIB_LINK_LIB : 1
3631 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,43 @@ 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-
5849 - env :
5950 MKN_LIB_LINK_LIB : 1
6051 run : |
52+ set -ex
6153 $CURL_GET -o mkn ${PATH_GET}/mkn_arm_osx
6254 chmod +x mkn
6355 KLOG=3 ./mkn clean build run -dtOa "-std=c++20 -fPIC"
56+ KLOG=3 ./mkn clean build run -dtOa "-std=c++20 -fPIC" -p test
6457 KLOG=3 ./mkn clean build -dtOa "-std=c++20 -fPIC" -p test_module
6558 python3 -c "import test_module as tm; tm.lol()"
6659
6760 windows :
6861 runs-on : windows-latest
6962 strategy :
70- fail-fast : false
71- max-parallel : 4
7263 matrix :
7364 python-version : ['3.14']
7465 steps :
7566 - uses : actions/checkout@v6
76-
7767 - uses : actions/setup-python@v6
7868 with :
7969 python-version : ${{ matrix.python-version }}
80- architecture : x64
81-
8270 - uses : ilammy/msvc-dev-cmd@v1
83- with :
84- arch : amd64
85-
8671 - env :
8772 MKN_CL_PREFERRED : 1
88- shell : cmd
73+ shell : bash
8974 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'
75+ set -ex
76+ rm /bin/link
77+ $CURL_GET -o mkn.exe ${PATH_GET}/mkn.exe
78+ KLOG=3 ./mkn clean build run -dtOa "-EHsc -std:c++20"
79+ KLOG=3 ./mkn clean build run -dtOp test -a "-EHsc -std:c++20"
80+ KLOG=3 ./mkn clean build -dtOa "-std:c++20 -EHsc" -p test_module
9581 python3 -c "import test_module as tm; tm.lol()"
0 commit comments