Commit 7a65fccd authored by Eric Timmons's avatar Eric Timmons
Browse files

Add use cases

parent 1d700c88
Loading
Loading
Loading
Loading

use-cases.page

0 → 100644
+45 −0
Original line number Diff line number Diff line
;;;;;
title: Use Cases
format: md
URL: use-cases.html
;;;;;

# CI

Docker images are widely used for CI purposes as they tend to boot faster and
use less disk space than comparable VMs.

## Gitlab CI

Here is an example `.gitlab-ci.yml` file to use these images with Gitlab
CI. For a moderately more complex example, please
see
[ASDF's CI pipelines](https://gitlab.common-lisp.net/asdf/asdf/-/blob/master/gitlab-ci.yml).

```yaml

.run tests:
  image: clfoundation/$LISP:latest
  script:
    - ./run-all-my-tests.sh

ABCL tests:
  extends: .run tests
  variables:
    LISP: abcl

CCL tests:
  extends: .run tests
  variables:
    LISP: ccl

ECL tests:
  extends: .run tests
  variables:
    LISP: ecl

SBCL tests:
  extends: .run tests
  variables:
    LISP: sbcl
```