Skip to content

Use experimentatl setup-lisp. #82

Use experimentatl setup-lisp.

Use experimentatl setup-lisp. #82

Workflow file for this run

{
"name": "CI",
"on": {
"push": {
"branches": [
"master"
]
},
"pull_request": null,
"schedule": [
{
"cron": "0 10 * * 1"
}
]
},
"jobs": {
"run-tests": {
"strategy": {
"fail-fast": false,
"matrix": {
"os": [
"windows-latest"
]
}
},
"runs-on": "${{ matrix.os }}",
"env": {
"OS": "${{ matrix.os }}",
"QUICKLISP_DIST": "quicklisp",
"LISP": "sbcl-bin"
},
"steps": [
{
"name": "Checkout Code",
"uses": "actions/checkout@v3"
},
{
"name": "Grant All Perms to Make Cache Restoring Possible",
"run": "if [[ \"$RUNNER_OS\" == \"Windows\" ]]; then\n mkdir -p /usr/local/etc/roswell\n chown \"${USER}\" /usr/local/etc/roswell\n # Here the ros binary will be restored:\n mkdir -p /usr/local/bin\n chown \"${USER}\" /usr/local/bin\n else\n sudo mkdir -p /usr/local/etc/roswell\n sudo chown \"${USER}\" /usr/local/etc/roswell\n # Here the ros binary will be restored:\n sudo mkdir -p /usr/local/bin\n sudo chown \"${USER}\" /usr/local/bin\n fi",
"shell": "bash"
},
{
"name": "Get Current Month",
"id": "current-month",
"run": "echo \"value=$(date -u \"+%Y-%m\")\" >> $GITHUB_OUTPUT",
"shell": "bash"
},
{
"name": "Cache Roswell Setup",
"id": "cache",
"uses": "actions/cache@v3",
"with": {
"path": "qlfile\nqlfile.lock\n~/.cache/common-lisp/\n~/.roswell\n/usr/local/etc/roswell\n/usr/local/bin/ros\n/usr/local/bin/lispsh\nD:/a/_temp/setup-msys2/\n/usr/local/Cellar/roswell\n.qlot",
"key": "a18-${{ steps.current-month.outputs.value }}-${{ env.cache-name }}-${{ matrix.os }}-quicklisp-sbcl-bin-${{ hashFiles('qlfile.lock', '*.asd') }}"
}
},
{
"name": "Restore Path To Cached Files",
"run": "echo $HOME/.roswell/bin >> $GITHUB_PATH\necho $HOME/.roswell/lisp/quicklisp/bin >> $GITHUB_PATH\necho .qlot/bin >> $GITHUB_PATH\necho /d/a/_temp/setup-msys2 >> $GITHUB_PATH",
"shell": "bash",
"if": "steps.cache.outputs.cache-hit == 'true'"
},
{
"name": "Setup Common Lisp Environment",
"uses": "40ants/setup-lisp@move-lispsh",
"with": {
"asdf-system": "40ants-openrpc",
"ngrok_auth_token": "${{ secrets.NGROK_AUTH_TOKEN }}",
"ssh_pass": "${{ secrets.SSH_PASS }}"
},
"if": "steps.cache.outputs.cache-hit != 'true'"
},
{
"name": "Show content of D:/a/_temp/setup-msys2/",
"run": "ls -l D:/a/_temp/setup-msys2/",
"shell": "bash"
},
{
"name": "Run Tests 13",
"uses": "40ants/run-tests@fix-lispsh",
"with": {
"asdf-system": "40ants-openrpc",
"coveralls-token": "\n${{ matrix.lisp == 'sbcl-bin' &&\n matrix.os == 'ubuntu-latest' &&\n matrix.quicklisp == 'ultralisp' &&\n secrets.github_token }}"
}
}
]
}
}
}