Skip to content

Commit 4e94663

Browse files
committed
doh
1 parent d229ccd commit 4e94663

5 files changed

Lines changed: 60 additions & 74 deletions

File tree

.github/workflows/build.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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'

.github/workflows/build_nix.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/build_osx.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/build_win.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

mkn.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)