Checking output of the input into a file.
This commit is contained in:
parent
bd260e976c
commit
5ff4cbc2b5
2 changed files with 51 additions and 37 deletions
62
.github/actions/setup/action.yml
vendored
62
.github/actions/setup/action.yml
vendored
|
@ -4,7 +4,7 @@ inputs:
|
|||
qlfile-template:
|
||||
description: 'Jinja template for qlfile'
|
||||
required: false
|
||||
default: 'no temlplate'
|
||||
default: 'The Template'
|
||||
lisp-system:
|
||||
description: 'ASDF system to install and test'
|
||||
required: false
|
||||
|
@ -22,11 +22,16 @@ runs:
|
|||
shell: bash
|
||||
run: |
|
||||
echo ::group::Environment
|
||||
echo "Current dir:"
|
||||
pwd
|
||||
|
||||
echo "Environment Variables:"
|
||||
env | sort -u
|
||||
echo ::endgroup::
|
||||
- name: Install Roswell
|
||||
shell: bash
|
||||
run: |
|
||||
echo ::group::Install Roswell
|
||||
if [[ "$OS" == "ubuntu-latest" ]]; then
|
||||
sudo apt-get -y install git build-essential automake libcurl4-openssl-dev
|
||||
fi
|
||||
|
@ -37,40 +42,49 @@ runs:
|
|||
curl -L https://raw.githubusercontent.com/svetlyak40wt/roswell/patches/scripts/install-for-ci.sh | sh
|
||||
|
||||
echo $HOME/.roswell/bin >> $GITHUB_PATH
|
||||
echo ::endgroup::
|
||||
- name: Upgrade ASDF to the Latest Version
|
||||
shell: bash
|
||||
run: |
|
||||
echo ::group::Upgrade ASDF
|
||||
ros install asdf
|
||||
echo ::endgroup::
|
||||
- name: Install Qlot
|
||||
shell: bash
|
||||
run: |
|
||||
echo ::group::Install Qlot
|
||||
ros install qlot
|
||||
echo .qlot/bin >> $GITHUB_PATH
|
||||
echo ::endgroup::
|
||||
|
||||
- name: Install Dependencies
|
||||
- name: Test
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ -e qlfile ]]; then
|
||||
rm -fr qlfile.lock
|
||||
else:
|
||||
if [[ "${QUICKLISP_DIST}" == 'ultralisp' ]]; then
|
||||
echo dist ultralisp http://dist.ultralisp.org/ >> qlfile
|
||||
fi
|
||||
fi
|
||||
qlot install
|
||||
- name: Install System
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "${QUICKLISP_DIST}" == 'quicklisp' ]]; then
|
||||
qlot exec ros install 40ants/defmain
|
||||
fi
|
||||
echo ${{ inputs.qlfile-template }} > qlfile
|
||||
# - name: Install Dependencies
|
||||
# shell: bash
|
||||
# run: |
|
||||
# if [[ -e qlfile ]]; then
|
||||
# rm -fr qlfile.lock
|
||||
# else:
|
||||
# if [[ "${QUICKLISP_DIST}" == 'ultralisp' ]]; then
|
||||
# echo dist ultralisp http://dist.ultralisp.org/ >> qlfile
|
||||
# fi
|
||||
# fi
|
||||
# qlot install
|
||||
# - name: Install System
|
||||
# shell: bash
|
||||
# run: |
|
||||
# if [[ "${QUICKLISP_DIST}" == 'quicklisp' ]]; then
|
||||
# qlot exec ros install 40ants/defmain
|
||||
# fi
|
||||
|
||||
qlot exec ros install cl-info
|
||||
- name: Install System
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "${QUICKLISP_DIST}" == 'quicklisp' ]]; then
|
||||
qlot exec ros install 40ants/defmain
|
||||
fi
|
||||
# qlot exec ros install cl-info
|
||||
# - name: Install System
|
||||
# shell: bash
|
||||
# run: |
|
||||
# if [[ "${QUICKLISP_DIST}" == 'quicklisp' ]]; then
|
||||
# qlot exec ros install 40ants/defmain
|
||||
# fi
|
||||
|
||||
qlot exec ros install cl-info
|
||||
# qlot exec ros install cl-info
|
||||
|
|
26
.github/workflows/install.yml
vendored
26
.github/workflows/install.yml
vendored
|
@ -63,6 +63,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: 40ants/cl-info/.github/actions/setup@custom-action
|
||||
- name: Start SSH session
|
||||
uses: luchihoratiu/debug-via-ssh@main
|
||||
with:
|
||||
|
@ -70,17 +71,16 @@ jobs:
|
|||
NGROK_REGION: eu
|
||||
SSH_PASS: ${{ secrets.SSH_PASS }}
|
||||
|
||||
- uses: 40ants/cl-info/.github/actions/setup@custom-action
|
||||
- name: Install System
|
||||
run: |
|
||||
if [[ "${QUICKLISP_DIST}" == 'quicklisp' ]]; then
|
||||
qlot exec ros install 40ants/defmain
|
||||
fi
|
||||
# - name: Install System
|
||||
# run: |
|
||||
# if [[ "${QUICKLISP_DIST}" == 'quicklisp' ]]; then
|
||||
# qlot exec ros install 40ants/defmain
|
||||
# fi
|
||||
|
||||
qlot exec ros install cl-info
|
||||
- name: Run Tests
|
||||
run: |
|
||||
set -x
|
||||
qlot exec cl-info --help
|
||||
qlot exec cl-info --version
|
||||
qlot exec cl-info cl-info
|
||||
# qlot exec ros install cl-info
|
||||
# - name: Run Tests
|
||||
# run: |
|
||||
# set -x
|
||||
# qlot exec cl-info --help
|
||||
# qlot exec cl-info --version
|
||||
# qlot exec cl-info cl-info
|
||||
|
|
Loading…
Reference in a new issue