-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workflows are updated using 40ants-ci.
- Loading branch information
1 parent
abc843b
commit 704cc38
Showing
5 changed files
with
152 additions
and
91 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,47 @@ | ||
{ | ||
"name": "CI", | ||
"on": { | ||
"push": { | ||
"branches": [ | ||
"master" | ||
] | ||
}, | ||
"pull_request": null, | ||
"schedule": [ | ||
{ | ||
"cron": "0 10 * * 1" | ||
} | ||
] | ||
}, | ||
"jobs": { | ||
"run-tests": { | ||
"runs-on": "ubuntu-latest", | ||
"env": { | ||
"OS": "ubuntu-latest", | ||
"QUICKLISP_DIST": "quicklisp", | ||
"LISP": "sbcl-bin" | ||
}, | ||
"steps": [ | ||
{ | ||
"name": "Checkout Code", | ||
"uses": "actions/checkout@v1" | ||
}, | ||
{ | ||
"name": "Setup Common Lisp Environment", | ||
"uses": "40ants/setup-lisp@v1", | ||
"with": { | ||
"asdf-system": "40ants-doc" | ||
} | ||
}, | ||
{ | ||
"name": "Run Tests", | ||
"uses": "40ants/run-tests@v2", | ||
"with": { | ||
"asdf-system": "40ants-doc", | ||
"coveralls-token": "${{ secrets.github_token }}" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
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,28 +1,40 @@ | ||
name: 'Docs' | ||
|
||
on: | ||
# This will run tests on pushes | ||
# to master branch and every monday: | ||
push: | ||
branches: | ||
- 'main' | ||
- 'master' | ||
# A branch to demo how docs are updated | ||
# at https://github.com/svetlyak40wt/mgl-pax/pull/1 | ||
- 'mgl-pax-minimal' | ||
schedule: | ||
- cron: '0 10 * * 1' | ||
|
||
jobs: | ||
build-docs: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
LISP: sbcl-bin | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: 40ants/setup-lisp@v1 | ||
- uses: 40ants/build-docs@v1 | ||
with: | ||
asdf-system: mgl-pax | ||
{ | ||
"name": "DOCS", | ||
"on": { | ||
"push": { | ||
"branches": [ | ||
"master" | ||
] | ||
} | ||
}, | ||
"jobs": { | ||
"build-docs": { | ||
"runs-on": "ubuntu-latest", | ||
"env": { | ||
"OS": "ubuntu-latest", | ||
"QUICKLISP_DIST": "quicklisp", | ||
"LISP": "sbcl-bin" | ||
}, | ||
"steps": [ | ||
{ | ||
"name": "Checkout Code", | ||
"uses": "actions/checkout@v1" | ||
}, | ||
{ | ||
"name": "Setup Common Lisp Environment", | ||
"uses": "40ants/setup-lisp@v1", | ||
"with": { | ||
"asdf-system": "40ants-doc" | ||
} | ||
}, | ||
{ | ||
"name": "Build Docs", | ||
"uses": "40ants/build-docs@v1", | ||
"with": { | ||
"asdf-system": "40ants-doc" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
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,39 @@ | ||
{ | ||
"name": "LINTER", | ||
"on": { | ||
"pull_request": null | ||
}, | ||
"jobs": { | ||
"linter": { | ||
"runs-on": "ubuntu-latest", | ||
"env": { | ||
"OS": "ubuntu-latest", | ||
"QUICKLISP_DIST": "quicklisp", | ||
"LISP": "sbcl-bin" | ||
}, | ||
"steps": [ | ||
{ | ||
"name": "Checkout Code", | ||
"uses": "actions/checkout@v1" | ||
}, | ||
{ | ||
"name": "Setup Common Lisp Environment", | ||
"uses": "40ants/setup-lisp@v1", | ||
"with": { | ||
"asdf-system": "40ants-doc" | ||
} | ||
}, | ||
{ | ||
"name": "Install SBLint", | ||
"run": "qlot exec ros install cxxxr/sblint", | ||
"shell": "bash" | ||
}, | ||
{ | ||
"name": "Run Linter", | ||
"run": "qlot exec sblint 40ants-doc.asd", | ||
"shell": "bash" | ||
} | ||
] | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
(defpackage #:40ants-doc/ci | ||
(:use #:cl) | ||
(:import-from #:40ants-ci/workflow | ||
#:defworkflow) | ||
(:import-from #:40ants-ci/jobs/linter) | ||
(:import-from #:40ants-ci/jobs/run-tests) | ||
(:import-from #:40ants-ci/jobs/docs)) | ||
(in-package 40ants-doc/ci) | ||
|
||
|
||
(defworkflow linter | ||
:on-pull-request t | ||
:jobs ((40ants-ci/jobs/linter:linter))) | ||
|
||
|
||
(defworkflow ci | ||
:on-push-to "master" | ||
:by-cron "0 10 * * 1" | ||
:on-pull-request t | ||
:jobs ((40ants-ci/jobs/run-tests:run-tests | ||
:coverage t))) | ||
|
||
|
||
(defworkflow docs | ||
:on-push-to "master" | ||
:jobs ((40ants-ci/jobs/docs:build-docs))) |