-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd88488
commit 8339fdf
Showing
4 changed files
with
91 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: ubuntu-latest | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: uname -a | ||
|
||
- env: | ||
MKN_LIB_LINK_LIB: 1 | ||
KUL_GIT_CO: --depth 1 | ||
run: | | ||
curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_nix | ||
chmod +x mkn | ||
KLOG=2 ./mkn clean build run -dtOa "-std=c++17 -fPIC" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: macos-latest | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: uname -a | ||
|
||
- env: | ||
MKN_LIB_LINK_LIB: 1 | ||
KUL_GIT_CO: --depth 1 | ||
run: | | ||
curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_arm_osx | ||
chmod +x mkn | ||
KLOG=2 ./mkn clean build run -dtOa "-std=c++17 -fPIC" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: windows-latest | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# setup MSVC compiler | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: amd64 | ||
|
||
- env: | ||
KUL_GIT_CO: --depth 1 | ||
MKN_CL_PREFERRED: 1 | ||
shell: cmd | ||
run: | # /bin/link interferes with cl/link.exe | ||
bash -c "rm /bin/link" | ||
bash -c 'curl -Lo mkn.exe https://github.com/mkn/mkn/releases/download/latest/mkn.exe' | ||
bash -c 'KLOG=2 ./mkn clean build run -dtOa "-EHsc -std:c++17"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,27 @@ | ||
|
||
#! clean build -dtO | ||
|
||
name: conan.install | ||
version: master | ||
property: | ||
maiken_location: ${MKN_HOME}/app/mkn/${version} | ||
maiken_scm: https://github.com/mkn/mkn | ||
|
||
parent: base | ||
src: mod.cpp | ||
if_arg: | ||
win_shared: -DYAML_CPP_DLL | ||
shared: -DKUL_SHARED | ||
mode: shared | ||
|
||
profile: | ||
- name: base | ||
mode: shared | ||
dep: | ||
- name: mkn | ||
profile: mod | ||
local: ${MKN_HOME}/app/mkn/master | ||
- name: base | ||
dep: mkn&${maiken_location}(${maiken_scm})[mod] | ||
if_arg: | ||
win_shared: -DYAML_CPP_DLL | ||
shared: -DKUL_SHARED | ||
|
||
- name: test | ||
parent: base | ||
main: test.cpp | ||
- name: test | ||
parent: base | ||
main: test.cpp | ||
dep: mkn&${maiken_location}(${maiken_scm})[lib] | ||
|
||
- name: format | ||
mod: | ||
- name: clang.format | ||
init: | ||
style: google | ||
types: cpp:cxx:cc:h:hpp | ||
paths: . | ||
- name: format | ||
mod: | | ||
clang.format{init:{style: google, paths: .}} |