Changeset 15268
- Timestamp:
- 04/28/20 06:37:47 (3 years ago)
- Location:
- trunk/abcl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/.travis.yml
r15260 r15268 20 20 - ant 21 21 - maven 22 # Needed for rendering the User Manual 23 # Unfortunately, installing TeX from scratch is judged too expensive computationally. 24 # - texlive-full 22 25 homebrew: 23 26 update: true … … 25 28 - ant 26 29 - maven 30 # Needed for rendering the User Manual 31 # Unfortunately, installing TeX from scratch is judged too expensive computationally. 32 # - mactex 27 33 env: 28 - ABCL_JDK=openjdk8 29 - ABCL_JDK=openjdk11 30 - ABCL_JDK=openjdk14 34 - ABCL_JDK=openjdk8 ABCL_ROOT=${TRAVIS_BUILD_DIR} 35 - ABCL_JDK=openjdk11 ABCL_ROOT=${TRAVIS_BUILD_DIR} 36 - ABCL_JDK=openjdk14 ABCL_ROOT=${TRAVIS_BUILD_DIR} 31 37 32 38 install: 33 - echo $(pwd) 34 - bash -x ${TRAVIS_BUILD_DIR}/ci/install-adoptjdk.bash ${ABCL_JDK} 39 - echo PWD=$(pwd) && echo ABCL_ROOT=${ABCL_ROOT} 40 - bash -x ${ABCL_ROOT}/ci/install-adoptjdk.bash ${ABCL_JDK} 41 35 42 # Ensure we can invoke ant 36 - . ${TRAVIS_BUILD_DIR}/ci/ensure-jenv-is-present.bash && ant abcl.diagnostic 43 - . ${ABCL_ROOT}/ci/ensure-jenv-is-present.bash && ant abcl.diagnostic 44 37 45 # Set build and runtime options for the JVM hosting ABCL 38 46 - bash -x ./ci/create-abcl-properties.bash ${ABCL_JDK} 47 39 48 # Build ABCL 40 - . ${TRAVIS_BUILD_DIR}/ci/ensure-jenv-is-present.bash && ant abcl 49 - . ${ABCL_ROOT}/ci/ensure-jenv-is-present.bash && ant abcl 50 41 51 # Configure finding abcl build source via ASDF 42 - bash -x ${TRAVIS_BUILD_DIR}/ci/asdf-finds-abcl.bash 52 - bash -x ${ABCL_ROOT}/ci/asdf-finds-abcl.bash 53 43 54 # Install Quicklisp 44 - ${TRAVIS_BUILD_DIR}/abcl --eval '(require :asdf)' --eval '(require :abcl-contrib)' --eval '(asdf:load-system :quicklisp-abcl :force t)' --eval '(progn (setf ql-util::*do-not-prompt* t)(ql:add-to-init-file))' --eval '(ext:quit)' 45 # Install ANSI tests 46 - bash -x ${TRAVIS_BUILD_DIR}/ci/sync-ansi-test.bash 55 - ${ABCL_ROOT}/abcl --eval '(require :asdf)' --eval '(require :abcl-contrib)' --eval '(asdf:load-system :quicklisp-abcl :force t)' --eval '(progn (setf ql-util::*do-not-prompt* t)(ql:add-to-init-file))' --eval '(ext:quit)' 56 57 # Install the ANSI-TEST suite 58 - bash -x ${ABCL_ROOT}/ci/sync-ansi-test.bash 47 59 48 60 # TODO: figure out how to add abcl to our path 49 61 50 62 script: 51 - ${TRAVIS_BUILD_DIR}/abcl --batch --load ${TRAVIS_BUILD_DIR}/ci/test-cffi.lisp 52 - ${TRAVIS_BUILD_DIR}/abcl --batch --load ${TRAVIS_BUILD_DIR}/ci/test-cl+ssl.lisp 53 - ${TRAVIS_BUILD_DIR}/abcl --batch --load ${TRAVIS_BUILD_DIR}/ci/test-abcl.lisp 54 - ${TRAVIS_BUILD_DIR}/abcl --batch --load ${TRAVIS_BUILD_DIR}/ci/abcl-prove.lisp 55 - ${TRAVIS_BUILD_DIR}/abcl --batch --load ${TRAVIS_BUILD_DIR}/ci/test-ansi.lisp 56 - ${TRAVIS_BUILD_DIR}/abcl --batch --load ${TRAVIS_BUILD_DIR}/ci/release.lisp 63 - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-cffi.lisp 64 - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-cl+ssl.lisp 65 - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-abcl.lisp 66 - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/abcl-prove.lisp 67 - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-ansi.lisp 68 69 # This would build a release, which needs an installed TeX which is judged too 70 # "expensive" to leave as the standard CI process 71 # - pushd ${ABCL_ROOT} && ant abcl.release abcl.wrapper && popd 72 73 # Print the hashes and sizes of build artifacts 74 - pushd ${ABCL_ROOT} && ./abcl --batch --load ./ci/release.lisp && popd 57 75 58 76 -
trunk/abcl/ci/release.lisp
r15266 r15268 3 3 4 4 (if (not (asdf:find-system :abcl-build)) 5 (warn "Failed to find <urn:abcl.org/contrib/abcl-build> in ASDF to buildrelease.")5 (warn "Failed to find <urn:abcl.org/contrib/abcl-build> in ASDF to hash release.") 6 6 (asdf:make :abcl-build)) 7 7 8 (let (ant) 8 (let ((root (uiop:getenv "ABCL_ROOT")) 9 ant) 10 (format *standard-output* "ABCL_ROOT='~a'~%" root) 11 #+(or) ;;; needs TeXlive to render User Manual 9 12 (abcl-build:with-ensured-ant (ant) 10 13 (abcl-build:ant/call "build.xml" 11 '("abcl.release" "abcl.wrapper")))))) 14 '("abcl.release" "abcl.wrapper"))) 15 (let ((dist (concatenate 'string root "/dist/"))) 16 (format *standard-output* "dist='~a'~%" dist) 17 (multiple-value-bind (hashes report) 18 (abcl-build:directory-hashes dist) 19 (format *standard-output* report)))) 20 21 22 23 24 25 26 27 28 12 29 13 30
Note: See TracChangeset
for help on using the changeset viewer.