Skip to content

Add roswell script for automatic installation #73

Add roswell script for automatic installation

Add roswell script for automatic installation #73

Workflow file for this run

# .github/workflows/test.yaml
name: test
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
implementation:
- sbcl
# - ecl
- ccl
include:
- implementation: sbcl
image: clfoundation/sbcl:2.2.4
command: sbcl
# - implementation: ecl
# image: clfoundation/ecl:21.2.1
# command: ecl
- implementation: ccl
image: clfoundation/ccl:1.12
command: ccl
container:
image: ${{ matrix.image }}
env:
CI_SYSTEM: github
QUICKLISP_ADD_TO_INIT_FILE: true
QUICKLISP_DIST_VERSION: latest
env:
WORKSPACE: /github/workspace/
PGHOST: postgres
PGPORT: 5432
RDBMS_DB: rdbms
RDBMS_USER: rdbms_user
RDBMS_PASS: rdbms_p4ss
POSTMODERN_DB: postmodern
POSTMODERN_USER: postmodern_user
POSTMODERN_PASS: postmodern_p4ss
# Service containers to run with `container-job`
services:
# Label used to access the service container
postgres:
# Custom PostgreSQL image with support for multiple databases
image: dnaeon/postgres:15.3
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: xFvbRd5qdeWHNum9p
POSTGRES_DATABASES: rdbms,postmodern
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run tests
run: |
env LISP=${{ matrix.command }} ./scripts/run-ci-tests.sh