Skip to content

Commit

Permalink
ci: run emacs integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fstamour committed Oct 3, 2023
1 parent 1fadd31 commit bea9dba
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,26 @@ jobs:
shell: bash
run: scripts/test.sh

- name: 'Upload Artifact'
- name: 'Upload docs'
uses: actions/upload-artifact@v3
with:
name: docs
path: docs/

emacs:
name: "Integration test - emacs"
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Run tests
run: |
scripts/demo/build-docker-image.sh
- name: 'Upload screenshots'
uses: actions/upload-artifact@v3
with:
name: screenshots
path: demo.tar
9 changes: 9 additions & 0 deletions scripts/demo/setup-demo.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,22 @@
#:swank-arglists
#:swank-repl))

(format t "~&About to load breeze.asd...~%")
(force-output)

;; install breeze's dependencies
(asdf:load-asd (truename "breeze.asd"))

(format t "~&About to quickload breeze's dependencies...~%")
(force-output)

(ql:quickload
(remove-if
(lambda (system-name)
(string= "breeze/config" system-name))
(asdf:system-depends-on (asdf:find-system "breeze"))))

(format t "~&About to dump core \"dependencies.core\"...~%")
(force-output)

(uiop:dump-image "dependencies.core")

0 comments on commit bea9dba

Please sign in to comment.