-
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
0 parents
commit f75229a
Showing
5 changed files
with
84 additions
and
0 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,19 @@ | ||
name: ubuntu-latest | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: "Build/Test" # contains slash so use quotes otherwise UB | ||
run: | | ||
curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_nix | ||
chmod +x mkn | ||
KLOG=3 ./mkn clean build test 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,19 @@ | ||
name: macos-latest | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: "Build/Test" # contains slash so use quotes otherwise UB | ||
run: | | ||
curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_osx | ||
chmod +x mkn | ||
KLOG=3 ./mkn clean build test 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,26 @@ | ||
name: windows-latest | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: amd64 | ||
|
||
- name: "Build/Test" # contains slash so use quotes otherwise UB | ||
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++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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
bin | ||
.mkn | ||
tc |
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,17 @@ | ||
#! clean build test run -O 2 | ||
|
||
name: time.ccronexpr | ||
version: master | ||
parent: lib | ||
|
||
profile: | ||
- name: lib | ||
inc: tc | ||
src: tc/ccronexpr.c | ||
test: tc/ccronexpr_test.c | ||
sub: tinycron&tc(https://github.com/exander77/supertinycron) | ||
|
||
- name: stc | ||
self: lib | ||
main: tc/supertinycron.c | ||
out: supertinycron |