Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/build_nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ubuntu-latest

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: "Build/Test"
run: |
curl -fL --retry 3 --retry-delay 2 -o mkn https://github.com/mkn/mkn/releases/download/latest/mkn_nix
chmod +x mkn
KLOG=3 ./mkn clean build run -dtOp test -a "-std=c++20 -fPIC"
26 changes: 26 additions & 0 deletions .github/workflows/build_osx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: macos-latest

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

- name: "Build/Test"
run: |
set -x
curl -fL --retry 3 --retry-delay 2 -o mkn https://github.com/mkn/mkn/releases/download/latest/mkn_arm_osx
chmod +x mkn
file mkn
./mkn -v
KLOG=3 ./mkn clean build run -dtOp test -a "-std=c++20 -fPIC"
48 changes: 48 additions & 0 deletions .github/workflows/build_win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: windows-latest

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
shared:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64

- name: "Build/Test"
shell: cmd
env:
MKN_CL_PREFERRED: 1
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=3 ./mkn clean build run -dtSOp test -a "-EHsc -std:c++20"'

static:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64

- name: "Build/Test"
shell: cmd
env:
MKN_CL_PREFERRED: 1
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=3 ./mkn clean build run -dtKOp test -a "-EHsc -std:c++20"'
53 changes: 0 additions & 53 deletions .travis.yml

This file was deleted.

54 changes: 0 additions & 54 deletions appveyor.yml

This file was deleted.

36 changes: 0 additions & 36 deletions dll.h

This file was deleted.

11 changes: 0 additions & 11 deletions mkn.bat

This file was deleted.

19 changes: 0 additions & 19 deletions mkn.sh

This file was deleted.

13 changes: 8 additions & 5 deletions mkn.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

#! clean build -p test -dtOa -fPIC

name: parse.yaml

Expand All @@ -7,12 +7,15 @@ parent: lib
profile:
- name: headers
inc: p/include
sub: yaml_cpp#master&p(https://github.com/jbeder/yaml-cpp)
if_arg:
win_shared: -DYAML_CPP_DLL -Dyaml_cpp_EXPORTS
static: -DYAML_CPP_STATIC_DEFINE

- name: lib
parent: headers
src: p/src
if_arg:
win_shared: -Dyaml_cpp_EXPORTS

- name: shared
parent: lib
Expand All @@ -24,8 +27,8 @@ profile:
src: |
p/test, 0
p/test/integration
dep:
- name: google.test
version: master
dep: google.test
main: p/test/main.cpp
self: lib
if_arg:
win_shared: -DGTEST_LINKED_AS_SHARED_LIBRARY=1
16 changes: 0 additions & 16 deletions res/appveyor/run.sh

This file was deleted.

31 changes: 0 additions & 31 deletions res/travis/mac_bintray.json

This file was deleted.

31 changes: 0 additions & 31 deletions res/travis/nix_bintray.json

This file was deleted.

Loading