Skip to content

Commit

Permalink
Add an example of a custom list of steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlyak40wt committed Feb 27, 2024
1 parent fc965e1 commit ee40e0b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,33 @@
}
}
]
},
"lisp-job": {
"runs-on": "ubuntu-latest",
"env": {
"OS": "ubuntu-latest",
"QUICKLISP_DIST": "quicklisp",
"LISP": "ccl-bin"
},
"steps": [
{
"name": "Checkout Code",
"uses": "actions/checkout@v4"
},
{
"name": "Setup Common Lisp Environment",
"uses": "40ants/setup-lisp@v4",
"with": {
"asdf-system": "40ants-ci",
"cache": "true"
}
},
{
"name": "Show Roswell Config",
"run": "ros config",
"shell": "bash"
}
]
}
}
}
9 changes: 7 additions & 2 deletions src/ci.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
#:build-docs)
(:import-from #:40ants-ci/workflow
#:defworkflow)
(:import-from #:40ants-ci/jobs/autotag))
(:import-from #:40ants-ci/jobs/autotag)
(:import-from #:40ants-ci/jobs/lisp-job
#:lisp-job))
(in-package 40ants-ci/ci)


Expand Down Expand Up @@ -47,6 +49,9 @@
:coverage t
:qlfile "{% ifequal quicklisp_dist \"ultralisp\" %}
dist ultralisp http://dist.ultralisp.org
{% endifequal %}")))
{% endifequal %}")
(40ants-ci/jobs/lisp-job:lisp-job :lisp "ccl-bin"
:steps ((40ants-ci/steps/sh:sh "Show Roswell Config"
"ros config")))))


0 comments on commit ee40e0b

Please sign in to comment.