File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : build
2+
3+ concurrency :
4+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
5+ cancel-in-progress : true
6+
7+ - env :
8+ MKN_KUL_GIT_CO : --depth 1
9+
10+ on :
11+ push :
12+ branches : [ master ]
13+ pull_request :
14+ branches : [ master ]
15+
16+ jobs :
17+ ubuntu :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+
22+ - env :
23+ MKN_LIB_LINK_LIB : 1
24+ run : |
25+ curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_nix
26+ chmod +x mkn
27+ KLOG=2 ./mkn clean build run -dtOa "-std=c++20 -fPIC"
28+ KLOG=2 ./mkn clean build run -dtOa "-std=c++20 -fPIC" -p test
29+
30+ macos :
31+ runs-on : macos-latest
32+ steps :
33+ - uses : actions/checkout@v4
34+
35+ - env :
36+ MKN_LIB_LINK_LIB : 1
37+ run : |
38+ curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_arm_osx
39+ chmod +x mkn
40+ KLOG=2 ./mkn clean build run -dtOa "-std=c++20 -fPIC"
41+ KLOG=2 ./mkn clean build run -dtOa "-std=c++20 -fPIC" -p test
42+
43+ windows :
44+ runs-on : windows-latest
45+ steps :
46+ - uses : actions/checkout@v4
47+
48+ - uses : ilammy/msvc-dev-cmd@v1
49+ with :
50+ arch : amd64
51+
52+ - env :
53+ MKN_CL_PREFERRED : 1
54+ shell : cmd
55+ run : | # /bin/link interferes with cl/link.exe
56+ bash -c "rm /bin/link"
57+ bash -c 'curl -Lo mkn.exe https://github.com/mkn/mkn/releases/download/latest/mkn.exe'
58+ bash -c 'KLOG=2 ./mkn clean build run -dtOa "-EHsc -std:c++20"'
59+ bash -c 'KLOG=2 ./mkn clean build run -dtOa "-EHsc -std:c++20" -p test'
Load diff This file was deleted.
Load diff This file was deleted.
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ profile:
1515 dep : mkn&${maiken_location}(${maiken_scm})[mod]
1616 if_arg :
1717 win_shared : -DYAML_CPP_DLL
18- shared : -DKUL_SHARED
18+ shared : -DMKN_KUL_SHARED
1919
2020- name : test
2121 parent : base
You can’t perform that action at this time.
0 commit comments