Commit a736e7b1 authored by Eric Timmons's avatar Eric Timmons
Browse files

Add gitlab CI

parent 19181e0b
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+37 −0
Changes for .gitlab-ci.yml: 37 added lines, 0 removed lines.
Original line number Diff line number Diff line
include:
  - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
  - remote: 'https://gitlab.com/clci/gitlab-ci/-/raw/release/v1-stable/ci-cache.yml'
  - remote: 'https://gitlab.com/clci/gitlab-ci/-/raw/release/v1-stable/clpm.yml'

.test:
  extends:
    - .clci ci cache per job
  before_script:
    - mkdir ~/common-lisp
    - git clone https://gitlab.common-lisp.net/asdf/asdf.git ~/common-lisp/asdf
    - git -C ~/common-lisp/asdf checkout -b "add-gfs-for-system-parsing" "origin/add-gfs-for-system-parsing"
    - !reference [.clci clpm install, script]
    - !reference [.clci clpm configure, script]
    - $CLPM bundle install --no-resolve
  script:
    - $CLPM bundle exec -- cl '(load "scripts/test.lisp")'

test abcl:
  image: clfoundation/abcl
  extends: .test

test ccl:
  image: clfoundation/ccl
  extends: .test

test clisp:
  image: clfoundation/clisp
  extends: .test

test ecl:
  image: clfoundation/ecl
  extends: .test

test sbcl:
  image: clfoundation/sbcl
  extends: .test

scripts/test.lisp

0 → 100644
+9 −0
Changes for scripts/test.lisp: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
(require "asdf")

;; This is needed because we can't use the ASDF included with the
;; implementation. I really need to get CLPM to manage ASDF versions as well...
(asdf:initialize-source-registry '(:source-registry
                                   (:tree (:home "common-lisp"))
                                   :inherit-configuration))

(asdf:test-system :asdf-inferred-components)