Skip to content

ci: disagnostics for where ASDF is finding cl-protobufs #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .github/workflows/ABCL-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- name: Download quicklisp
run: curl -o quicklisp.lisp 'https://beta.quicklisp.org/quicklisp.lisp'


- name: Install quicklisp
run: |
./abcl/abcl --load quicklisp.lisp --eval "(quicklisp-quickstart:install :path \"$GITHUB_WORKSPACE/quicklisp/\") (quit)"
Expand All @@ -35,19 +34,28 @@ jobs:
with:
path: quicklisp/local-projects/cl-protobufs

- name: Add cl-protobufs/protoc to path
run: echo "::add-path:$GITHUB_WORKSPACE/quicklisp/local-projects/cl-protobufs/protoc/"
- name: Diagnostic for where cl-protobufs occurs on the filesystem
run: |
export PATH="$PATH:$GITHUB_WORKSPACE/quicklisp/local-projects/cl-protobufs/protoc/"
./abcl/abcl --eval '(asdf:system-source-directory :cl-protobufs)'

- name: Download and install protobuf
run: git clone --recursive https://github.com/google/protobuf $GITHUB_WORKSPACE/protobuf && cd $GITHUB_WORKSPACE/protobuf && ./autogen.sh && ./configure --prefix=/usr/local && make && sudo make install && sudo ldconfig
- name: Install test dependencies
run: |
export PATH="$PATH:$GITHUB_WORKSPACE/quicklisp/local-projects/cl-protobufs/protoc/"
./abcl/abcl --eval '(ql:quickload :cl-protobufs/tests)'

- name: Install protoc plug-in
run: cd $GITHUB_WORKSPACE/quicklisp/local-projects/cl-protobufs/protoc && PROTOC_ROOT=/usr/local make
- name: Diagnostic for where cl-protobufs occurs on the filesystem
run: |
export PATH="$PATH:$GITHUB_WORKSPACE/quicklisp/local-projects/cl-protobufs/protoc/"
./abcl/abcl --eval '(asdf:system-source-directory :cl-protobufs)'

- name: Load and run tests
- name: Run tests
run: |
export PATH="$PATH:$GITHUB_WORKSPACE/quicklisp/local-projects/cl-protobufs/protoc/"
./abcl/abcl --eval '(ql:quickload :clunit2)' --eval '(ql:quickload :trivial-benchmark)' --eval '(ql:quickload :cl-base64)' --eval '(ql:quickload :local-time)' --eval '(ql:quickload :babel)' --eval '(setf clunit:*clunit-report-format* :tap)' --eval '(ql:quickload :cl-protobufs)' --eval '(asdf:test-system :cl-protobufs)' >> report
./abcl/abcl --eval '(asdf:test-system :cl-protobufs)' >> report
test -f report
! grep -q "not ok" report
grep -q "ok" report



5 changes: 5 additions & 0 deletions .github/workflows/CCL-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ jobs:
with:
path: quicklisp/local-projects/cl-protobufs

- name: Diagnostic for where cl-protobufs occurs on the filesystem
run: |
export PATH="$PATH:$GITHUB_WORKSPACE/quicklisp/local-projects/cl-protobufs/protoc/"
./ccl/lx86cl64 --eval '(asdf:system-source-directory :cl-protobufs)'

- name: Add cl-protobufs/protoc to path
run: echo "::add-path:$GITHUB_WORKSPACE/quicklisp/local-projects/cl-protobufs/protoc/"

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/SBCL-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
with:
path: quicklisp/local-projects/cl-protobufs

- name: Diagnostic for where cl-protobufs occurs on the filesystem
run: |
export PATH="$PATH:$GITHUB_WORKSPACE/quicklisp/local-projects/cl-protobufs/protoc/"
sbcl --noinform --non-interactive --eval '(asdf:system-source-directory :cl-protobufs)'

- name: Add cl-protobufs/protoc to path
run: echo "::add-path:$GITHUB_WORKSPACE/quicklisp/local-projects/cl-protobufs/protoc/"

Expand Down