From 5ff4cbc2b5a6dcaa07b4e4c2bae7a1ef7062aa82 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 2 Feb 2021 10:46:49 +0300 Subject: [PATCH] Checking output of the input into a file. --- .github/actions/setup/action.yml | 62 +++++++++++++++++++------------- .github/workflows/install.yml | 26 +++++++------- 2 files changed, 51 insertions(+), 37 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index dee7411..164b925 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -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 diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index c443b37..43d8c39 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -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