From 7ac2ddcb5ca436675f5449525a20a01059e1e611 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 13:22:52 +0300 Subject: [PATCH 01/31] Added GitHub Actions config. --- .github/workflows/install.yml | 63 +++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/install.yml diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml new file mode 100644 index 0000000..bdfc24a --- /dev/null +++ b/.github/workflows/install.yml @@ -0,0 +1,63 @@ +name: 'Check Installation' + +on: + # This will run tests on pushes + # to master branch or on pull merges: + push: + branches: + - 'main' + - 'master' + # This will run tests for every pull request: + pull_request: + # Rerun tests at 10 AM every Monday + # to check if they still work with latest dependencies. + schedule: + - cron: '0 10 * * 1' + +jobs: + run_tests: + strategy: + fail-fast: false + matrix: + lisp: + - sbcl-bin +# - ccl-bin + os: + - ubuntu-latest +# - macos-latest + + runs-on: ${{ matrix.os }} + + env: + LISP: ${{ matrix.lisp }} + OS: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v1 + - name: Show env + run: | + env | sort -u + - name: Install Roswell + run: | + curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh + echo $HOME/.roswell/bin >> $GITHUB_PATH + - name: Upgrade ASDF to the latest version + run: | + ros install asdf + - name: Install Qlot + run: | + ros install qlot + echo .qlot/bin >> $GITHUB_PATH + - name: Install Dependencies + run: | + rm -fr qlfile + echo dist ultralisp http://dist.ultralisp.org/ >> qlfile + + qlot install + - name: Install CL-INFO + run: | + qlot exec ros install 40ants/cl-info + - name: Run CL-INFO + run: | + qlot exec cl-info + From 19cb980eed00bae2f07af98fcecc89abc4701c93 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 13:38:17 +0300 Subject: [PATCH 02/31] Added ccl-bin and OSX. --- .github/workflows/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index bdfc24a..63da3a5 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -21,10 +21,10 @@ jobs: matrix: lisp: - sbcl-bin -# - ccl-bin + - ccl-bin os: - ubuntu-latest -# - macos-latest + - macos-latest runs-on: ${{ matrix.os }} From 1eb8e263ae49c5a39ba38bd9b324b1d4be5e4577 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 14:11:22 +0300 Subject: [PATCH 03/31] Trying my patches. --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 63da3a5..bdfe33b 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -39,7 +39,7 @@ jobs: env | sort -u - name: Install Roswell run: | - curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh + curl -L https://raw.githubusercontent.com/svetlyak40wt/roswell/patches/scripts/install-for-ci.sh | sh echo $HOME/.roswell/bin >> $GITHUB_PATH - name: Upgrade ASDF to the latest version run: | From 88caf8955d46d83d929fad6995b9ae835912a046 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 14:14:26 +0300 Subject: [PATCH 04/31] Install necessary deps. --- .github/workflows/install.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index bdfe33b..70edbb0 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -39,7 +39,15 @@ jobs: env | sort -u - name: Install Roswell run: | + if [[ "$OS" == "ubuntu-latest" ]]; then + sudo apt-get -y install git build-essential automake libcurl4-openssl-dev + fi + if [[ "$OS" == "macos-latest" ]]; then + brew install automake autoconf curl + fi + curl -L https://raw.githubusercontent.com/svetlyak40wt/roswell/patches/scripts/install-for-ci.sh | sh + echo $HOME/.roswell/bin >> $GITHUB_PATH - name: Upgrade ASDF to the latest version run: | From 3bdef06c26991d632027faefaa157bf9cd4fb362 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 14:34:05 +0300 Subject: [PATCH 05/31] Support both Quicklisp and Ultralisp. --- .github/workflows/install.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 70edbb0..39065f0 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -25,12 +25,16 @@ jobs: os: - ubuntu-latest - macos-latest + quicklisp-dist: + - quicklisp + - ultralisp runs-on: ${{ matrix.os }} env: LISP: ${{ matrix.lisp }} OS: ${{ matrix.os }} + QUICKLISP_DIST: ${{ matrix.quicklisp-dist }} steps: - uses: actions/checkout@v1 @@ -59,11 +63,19 @@ jobs: - name: Install Dependencies run: | rm -fr qlfile - echo dist ultralisp http://dist.ultralisp.org/ >> qlfile + touch qlfile + + if [[ "${QUICKLISP_DIST}" == 'ultralisp' ]]; then + echo dist ultralisp http://dist.ultralisp.org/ >> qlfile + fi qlot install - name: Install CL-INFO run: | + if [[ "${QUICKLISP_DIST}" == 'quicklisp' ]]; then + qlot exec ros install 40ants/defmain + fi + qlot exec ros install 40ants/cl-info - name: Run CL-INFO run: | From 94095bbdec56755fea88fffb3d9c25f2e4a4c1de Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 14:59:49 +0300 Subject: [PATCH 06/31] Added more implementation to the matrix. --- .github/workflows/install.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 39065f0..1c6163b 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -22,6 +22,11 @@ jobs: lisp: - sbcl-bin - ccl-bin + - ecl + - abcl + - allegro + - clisp + - cmucl os: - ubuntu-latest - macos-latest From 6d6a27e2c1042ae2629307d2ffb0c94d811983eb Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 16:55:51 +0300 Subject: [PATCH 07/31] Attempt to mark some errors as expected. --- .github/workflows/install.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 1c6163b..2eaa652 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -33,7 +33,33 @@ jobs: quicklisp-dist: - quicklisp - ultralisp + can-fail: + - [false] + include: + # Fails because this error on cl-info start: + # ill-formed handler binding ((LAMBDA (DEFMAIN/DEFMAIN::C) (DECLARE (IGNORABLE DEFMAIN/DEFMAIN::C)) (UIOP/IMAGE:QUIT 0))) + - lisp: abcl + can-fail: true + # Seems allegro is does not support 64bit OSX. + # Unable to install it using Roswell: + # alisp is not executable. Missing 32bit glibc? + - lisp: allegro + os: maxos-latest + can-fail: true + # CLisp on Ubuntu can't be installed because of the error: + # # does not have + # the required size or alignment + - lisp: clisp + os: ubuntu-latest + can-fail: true + # CMUCL is 32bit and cant' work on 64bit OSX: + # .roswell/impls/x86-64/darwin/cmu-bin/21d/bin/lisp is not executable. Missing 32bit glibc? + - lisp: cmucl + os: macos-latest + can-fail: true + + continue-on-error: ${{ matrix.can-fail }} runs-on: ${{ matrix.os }} env: From caceb98d773fde4d33dec1f27d918cf929d85742 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 17:38:30 +0300 Subject: [PATCH 08/31] Fixed error in workflow. --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 2eaa652..a897a10 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -34,7 +34,7 @@ jobs: - quicklisp - ultralisp can-fail: - - [false] + - false include: # Fails because this error on cl-info start: # ill-formed handler binding ((LAMBDA (DEFMAIN/DEFMAIN::C) (DECLARE (IGNORABLE DEFMAIN/DEFMAIN::C)) (UIOP/IMAGE:QUIT 0))) From 218b4999070b592a7a4fe5af4381c6a11f149203 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 17:41:48 +0300 Subject: [PATCH 09/31] Trying to add OS. --- .github/workflows/install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index a897a10..4c62482 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -39,6 +39,7 @@ jobs: # Fails because this error on cl-info start: # ill-formed handler binding ((LAMBDA (DEFMAIN/DEFMAIN::C) (DECLARE (IGNORABLE DEFMAIN/DEFMAIN::C)) (UIOP/IMAGE:QUIT 0))) - lisp: abcl + os: maxos-latest can-fail: true # Seems allegro is does not support 64bit OSX. # Unable to install it using Roswell: From cd811ad7f02283093e6b641199118035c1ace566 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 17:48:24 +0300 Subject: [PATCH 10/31] Don't use can-fail: false in matrix. --- .github/workflows/install.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 4c62482..88fba88 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -33,13 +33,10 @@ jobs: quicklisp-dist: - quicklisp - ultralisp - can-fail: - - false include: # Fails because this error on cl-info start: # ill-formed handler binding ((LAMBDA (DEFMAIN/DEFMAIN::C) (DECLARE (IGNORABLE DEFMAIN/DEFMAIN::C)) (UIOP/IMAGE:QUIT 0))) - lisp: abcl - os: maxos-latest can-fail: true # Seems allegro is does not support 64bit OSX. # Unable to install it using Roswell: From 95e7dea0bf2d8ff9b594a66a3dc1bd303701af42 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 18:30:35 +0300 Subject: [PATCH 11/31] Or false. --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 88fba88..60f6859 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -57,7 +57,7 @@ jobs: can-fail: true - continue-on-error: ${{ matrix.can-fail }} + continue-on-error: ${{ matrix.can-fail }} or false runs-on: ${{ matrix.os }} env: From c3096149aa10e9d994bcd9bd85b9a9566e7466a2 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 18:37:02 +0300 Subject: [PATCH 12/31] Correct operator. --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 60f6859..2fd21e8 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -57,7 +57,7 @@ jobs: can-fail: true - continue-on-error: ${{ matrix.can-fail }} or false + continue-on-error: ${{ matrix.can-fail }} || false runs-on: ${{ matrix.os }} env: From 0c1ce6bf6a0a787c77a81244184efed2efd04533 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 18:43:06 +0300 Subject: [PATCH 13/31] Moved to the end. --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 2fd21e8..66b780e 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -57,7 +57,6 @@ jobs: can-fail: true - continue-on-error: ${{ matrix.can-fail }} || false runs-on: ${{ matrix.os }} env: @@ -109,4 +108,5 @@ jobs: - name: Run CL-INFO run: | qlot exec cl-info + continue-on-error: "${{ matrix.can-fail }}" From 619edeeaba9d0fcffeb80eb286506da0c932ddea Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 19:01:02 +0300 Subject: [PATCH 14/31] Moved conntinue-on-error to the top. --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 66b780e..6ed6e14 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -58,6 +58,7 @@ jobs: runs-on: ${{ matrix.os }} + continue-on-error: "${{ matrix.can-fail }}" env: LISP: ${{ matrix.lisp }} @@ -108,5 +109,4 @@ jobs: - name: Run CL-INFO run: | qlot exec cl-info - continue-on-error: "${{ matrix.can-fail }}" From 639cb54004b09d1f620c11ec59d3328b192f6b8d Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 19:10:11 +0300 Subject: [PATCH 15/31] Added false back --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 6ed6e14..9e1dff6 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -58,7 +58,7 @@ jobs: runs-on: ${{ matrix.os }} - continue-on-error: "${{ matrix.can-fail }}" + continue-on-error: "${{ matrix.can-fail }}" || false env: LISP: ${{ matrix.lisp }} From 0639e5fe49a9b481f55defe816351c1471e93063 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 19:16:46 +0300 Subject: [PATCH 16/31] YAML programming is hard. --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 9e1dff6..199651d 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -58,7 +58,7 @@ jobs: runs-on: ${{ matrix.os }} - continue-on-error: "${{ matrix.can-fail }}" || false + continue-on-error: "'${{ matrix.can-fail }}' || false" env: LISP: ${{ matrix.lisp }} From b5868566b384c82d07217d494231d1ea69aceecf Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 19:23:26 +0300 Subject: [PATCH 17/31] No quotes. --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 199651d..00c06ff 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -58,7 +58,7 @@ jobs: runs-on: ${{ matrix.os }} - continue-on-error: "'${{ matrix.can-fail }}' || false" + continue-on-error: ${{ matrix.can-fail }} || false env: LISP: ${{ matrix.lisp }} From ee69f8f93d6102d67c0cbd568b25cef15a19c90d Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 19:24:40 +0300 Subject: [PATCH 18/31] Trying multiline. --- .github/workflows/install.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 00c06ff..3c4a858 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -58,7 +58,8 @@ jobs: runs-on: ${{ matrix.os }} - continue-on-error: ${{ matrix.can-fail }} || false + continue-on-error: | + "${{ matrix.can-fail }}" || false env: LISP: ${{ matrix.lisp }} From 02a9e0d844fb8ce2a0794e86df82f6edf3f44ec2 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 22:58:00 +0300 Subject: [PATCH 19/31] Moved lower. --- .github/workflows/install.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 3c4a858..1748436 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -58,8 +58,6 @@ jobs: runs-on: ${{ matrix.os }} - continue-on-error: | - "${{ matrix.can-fail }}" || false env: LISP: ${{ matrix.lisp }} @@ -107,7 +105,11 @@ jobs: fi qlot exec ros install 40ants/cl-info + continue-on-error: | + "${{ matrix.can-fail }}" || false - name: Run CL-INFO run: | qlot exec cl-info + continue-on-error: | + "${{ matrix.can-fail }}" || false From 667aea4f4857e46c620cc1c6b86da0a21c708313 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 23:15:19 +0300 Subject: [PATCH 20/31] Not multiline. --- .github/workflows/install.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 1748436..b48e1d6 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -105,11 +105,9 @@ jobs: fi qlot exec ros install 40ants/cl-info - continue-on-error: | - "${{ matrix.can-fail }}" || false + continue-on-error: "${{ matrix.can-fail }}" || false - name: Run CL-INFO run: | qlot exec cl-info - continue-on-error: | - "${{ matrix.can-fail }}" || false + continue-on-error: "${{ matrix.can-fail }}" || false From 3c1b6b05717055d61d6ba8323ac32c117d45238c Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 23:16:56 +0300 Subject: [PATCH 21/31] No quotes --- .github/workflows/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index b48e1d6..0c6c575 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -105,9 +105,9 @@ jobs: fi qlot exec ros install 40ants/cl-info - continue-on-error: "${{ matrix.can-fail }}" || false + continue-on-error: ${{ matrix.can-fail }} || false - name: Run CL-INFO run: | qlot exec cl-info - continue-on-error: "${{ matrix.can-fail }}" || false + continue-on-error: ${{ matrix.can-fail }} || false From eb655488d4bd7f80c532a82ee4c12c64a0c79b0c Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 23:44:37 +0300 Subject: [PATCH 22/31] False inside braces. --- .github/workflows/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 0c6c575..aafa775 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -105,9 +105,9 @@ jobs: fi qlot exec ros install 40ants/cl-info - continue-on-error: ${{ matrix.can-fail }} || false + continue-on-error: ${{ matrix.can-fail || false }} - name: Run CL-INFO run: | qlot exec cl-info - continue-on-error: ${{ matrix.can-fail }} || false + continue-on-error: $f{{ matrix.can-fail || false }} From d29789add87f5836643433d994c969ab719fed55 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 23:46:53 +0300 Subject: [PATCH 23/31] Removed a typo. --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index aafa775..8360987 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -109,5 +109,5 @@ jobs: - name: Run CL-INFO run: | qlot exec cl-info - continue-on-error: $f{{ matrix.can-fail || false }} + continue-on-error: ${{ matrix.can-fail || false }} From c43c3583675580a19a034e2987ad899b6803d778 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 26 Jan 2021 23:51:22 +0300 Subject: [PATCH 24/31] Experiment with ABCL. --- .github/workflows/install.yml | 47 ++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 8360987..6072556 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -20,19 +20,19 @@ jobs: fail-fast: false matrix: lisp: - - sbcl-bin - - ccl-bin - - ecl + # - sbcl-bin + # - ccl-bin + # - ecl - abcl - - allegro - - clisp - - cmucl + # - allegro + # - clisp + # - cmucl os: - ubuntu-latest - macos-latest quicklisp-dist: - quicklisp - - ultralisp +# - ultralisp include: # Fails because this error on cl-info start: # ill-formed handler binding ((LAMBDA (DEFMAIN/DEFMAIN::C) (DECLARE (IGNORABLE DEFMAIN/DEFMAIN::C)) (UIOP/IMAGE:QUIT 0))) @@ -41,23 +41,24 @@ jobs: # Seems allegro is does not support 64bit OSX. # Unable to install it using Roswell: # alisp is not executable. Missing 32bit glibc? - - lisp: allegro - os: maxos-latest - can-fail: true - # CLisp on Ubuntu can't be installed because of the error: - # # does not have - # the required size or alignment - - lisp: clisp - os: ubuntu-latest - can-fail: true - # CMUCL is 32bit and cant' work on 64bit OSX: - # .roswell/impls/x86-64/darwin/cmu-bin/21d/bin/lisp is not executable. Missing 32bit glibc? - - lisp: cmucl - os: macos-latest - can-fail: true + # - lisp: allegro + # os: maxos-latest + # can-fail: true + # # CLisp on Ubuntu can't be installed because of the error: + # # # does not have + # # the required size or alignment + # - lisp: clisp + # os: ubuntu-latest + # can-fail: true + # # CMUCL is 32bit and cant' work on 64bit OSX: + # # .roswell/impls/x86-64/darwin/cmu-bin/21d/bin/lisp is not executable. Missing 32bit glibc? + # - lisp: cmucl + # os: macos-latest + # can-fail: true runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.can-fail || false }} env: LISP: ${{ matrix.lisp }} @@ -105,9 +106,9 @@ jobs: fi qlot exec ros install 40ants/cl-info - continue-on-error: ${{ matrix.can-fail || false }} +# continue-on-error: ${{ matrix.can-fail || false }} - name: Run CL-INFO run: | qlot exec cl-info - continue-on-error: ${{ matrix.can-fail || false }} +# continue-on-error: ${{ matrix.can-fail || false }} From a18131bdf410272dcc6ba6b0e70f525d46fa9bac Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Wed, 27 Jan 2021 00:00:30 +0300 Subject: [PATCH 25/31] Uncommented all implementations. --- .github/workflows/install.yml | 45 ++++++++++++++++------------------- 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 6072556..5ae39dd 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -20,19 +20,19 @@ jobs: fail-fast: false matrix: lisp: - # - sbcl-bin - # - ccl-bin - # - ecl + - sbcl-bin + - ccl-bin + - ecl - abcl - # - allegro - # - clisp - # - cmucl + - allegro + - clisp + - cmucl os: - ubuntu-latest - macos-latest quicklisp-dist: - quicklisp -# - ultralisp + - ultralisp include: # Fails because this error on cl-info start: # ill-formed handler binding ((LAMBDA (DEFMAIN/DEFMAIN::C) (DECLARE (IGNORABLE DEFMAIN/DEFMAIN::C)) (UIOP/IMAGE:QUIT 0))) @@ -41,20 +41,20 @@ jobs: # Seems allegro is does not support 64bit OSX. # Unable to install it using Roswell: # alisp is not executable. Missing 32bit glibc? - # - lisp: allegro - # os: maxos-latest - # can-fail: true - # # CLisp on Ubuntu can't be installed because of the error: - # # # does not have - # # the required size or alignment - # - lisp: clisp - # os: ubuntu-latest - # can-fail: true - # # CMUCL is 32bit and cant' work on 64bit OSX: - # # .roswell/impls/x86-64/darwin/cmu-bin/21d/bin/lisp is not executable. Missing 32bit glibc? - # - lisp: cmucl - # os: macos-latest - # can-fail: true + - lisp: allegro + os: maxos-latest + can-fail: true + # CLisp on Ubuntu can't be installed because of the error: + # # does not have + # the required size or alignment + - lisp: clisp + os: ubuntu-latest + can-fail: true + # CMUCL is 32bit and cant' work on 64bit OSX: + # .roswell/impls/x86-64/darwin/cmu-bin/21d/bin/lisp is not executable. Missing 32bit glibc? + - lisp: cmucl + os: macos-latest + can-fail: true runs-on: ${{ matrix.os }} @@ -106,9 +106,6 @@ jobs: fi qlot exec ros install 40ants/cl-info -# continue-on-error: ${{ matrix.can-fail || false }} - name: Run CL-INFO run: | qlot exec cl-info -# continue-on-error: ${{ matrix.can-fail || false }} - From 8bb30da4c33396fe659ee92a342520260457a22b Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Wed, 27 Jan 2021 00:53:24 +0300 Subject: [PATCH 26/31] Added support for ABCL and fixed a typo. --- .github/workflows/install.yml | 6 +----- README.rst | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 5ae39dd..688cb10 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -34,15 +34,11 @@ jobs: - quicklisp - ultralisp include: - # Fails because this error on cl-info start: - # ill-formed handler binding ((LAMBDA (DEFMAIN/DEFMAIN::C) (DECLARE (IGNORABLE DEFMAIN/DEFMAIN::C)) (UIOP/IMAGE:QUIT 0))) - - lisp: abcl - can-fail: true # Seems allegro is does not support 64bit OSX. # Unable to install it using Roswell: # alisp is not executable. Missing 32bit glibc? - lisp: allegro - os: maxos-latest + os: macos-latest can-fail: true # CLisp on Ubuntu can't be installed because of the error: # # does not have diff --git a/README.rst b/README.rst index c071aa9..14dba4e 100644 --- a/README.rst +++ b/README.rst @@ -7,6 +7,9 @@ .. image:: https://travis-ci.org/40ants/cl-info.svg?branch=master :target: https://travis-ci.org/40ants/cl-info +.. image:: https://github.com/40ants/cl-info/workflows/Check%20Installation/badge.svg + :target: https://github.com/40ants/cl-info/actions + .. Everything starting from this commit will be inserted into the index page of the HTML documentation. .. include-from From a1946acf5fc4fe543f1a482e7de9b59c6e27b45d Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Wed, 27 Jan 2021 10:25:36 +0300 Subject: [PATCH 27/31] CI now installs from current directory instead of dist. --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 688cb10..4a004c0 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -101,7 +101,7 @@ jobs: qlot exec ros install 40ants/defmain fi - qlot exec ros install 40ants/cl-info + qlot exec ros install . - name: Run CL-INFO run: | qlot exec cl-info From fe33d85ad60bb6bace63f8b73aebb8396b06adff Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Wed, 27 Jan 2021 10:26:07 +0300 Subject: [PATCH 28/31] Travis config removed. --- .travis.yml | 53 ----------------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 32b42a3..0000000 --- a/.travis.yml +++ /dev/null @@ -1,53 +0,0 @@ -language: common-lisp -sudo: false - -cache: - directories: - - $HOME/.roswell - - $HOME/.config/common-lisp - -addons: - apt: - packages: - - libc6-i386 - - openjdk-7-jre -env: - global: - - PATH=~/.roswell/bin:$PATH - - ROSWELL_INSTALL_DIR=$HOME/.roswell - matrix: - - LISP=sbcl-bin - - LISP=ecl - - LISP=abcl - - LISP=allegro - - LISP=ccl - - LISP=clisp - - LISP=cmucl - -# matrix: -# allow_failures: -# - env: LISP=clisp -# - env: LISP=ecl - -os: - - osx -# - linux - -install: - - curl -L https://raw.githubusercontent.com/snmsts/roswell/release/scripts/install-for-ci.sh | sh - - ros install asdf - - ros install ./ - -before_script: - - ros --version - - ros config - - ros -e '(princ (lisp-implementation-type)) - (terpri) - (princ (lisp-implementation-version)) - (terpri) - (princ *features*) - (terpri) - (uiop:quit 0)' - -script: - - cl-info From c4662cda25e82888557265ab2bfb7ec2d5509821 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Wed, 27 Jan 2021 10:33:00 +0300 Subject: [PATCH 29/31] Using system name instead of dot. --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 4a004c0..b16b2a5 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -101,7 +101,7 @@ jobs: qlot exec ros install 40ants/defmain fi - qlot exec ros install . + qlot exec ros install cl-info - name: Run CL-INFO run: | qlot exec cl-info From 17a54501afa10ee8960a71ac006675d97f9d8f68 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Wed, 27 Jan 2021 10:41:20 +0300 Subject: [PATCH 30/31] More commands to test. --- .github/workflows/install.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index b16b2a5..4dc32ca 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -104,4 +104,7 @@ jobs: qlot exec ros install cl-info - name: Run CL-INFO run: | - qlot exec cl-info + set -x + qlot exec cl-info --help + qlot exec cl-info --version + qlot exec cl-info cl-info From 00cd3c453168118c524857f2d0a142d69053eecf Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Wed, 27 Jan 2021 11:45:28 +0300 Subject: [PATCH 31/31] More generic steps names. --- .github/workflows/install.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 4dc32ca..bc1eade 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -63,7 +63,7 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Show env + - name: Show ENV run: | env | sort -u - name: Install Roswell @@ -78,7 +78,7 @@ jobs: curl -L https://raw.githubusercontent.com/svetlyak40wt/roswell/patches/scripts/install-for-ci.sh | sh echo $HOME/.roswell/bin >> $GITHUB_PATH - - name: Upgrade ASDF to the latest version + - name: Upgrade ASDF to the Latest Version run: | ros install asdf - name: Install Qlot @@ -95,14 +95,14 @@ jobs: fi qlot install - - name: Install CL-INFO + - name: Install System run: | if [[ "${QUICKLISP_DIST}" == 'quicklisp' ]]; then qlot exec ros install 40ants/defmain fi qlot exec ros install cl-info - - name: Run CL-INFO + - name: Run Tests run: | set -x qlot exec cl-info --help