Skip to content

Commit cf2d566

Browse files
author
amirouche
authored
Create schemers:stable container and use it (#64)
- Add `schemers:stable` container to registry based on the last build, when the tests pass green; - Use `schemers:stable` in continuation integration.
1 parent f265e9e commit cf2d566

File tree

2 files changed

+34
-5
lines changed

2 files changed

+34
-5
lines changed

.github/workflows/container-schemers.yml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
name: schemers:latest
1+
name: container
22

33
on:
44
schedule:
55
- cron: '0 3 * * *'
66

7-
87
env:
98
REGISTRY: ghcr.io
109
IMAGE_NAME: schemers
1110

1211
jobs:
13-
schemers-latest:
12+
container:
1413
runs-on: ubuntu-latest
1514
permissions:
1615
contents: read
@@ -41,4 +40,34 @@ jobs:
4140
context: .
4241
push: true
4342
tags: ghcr.io/scheme-live/schemers:latest
43+
44+
- name: chez
45+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live chez check'
46+
- name: chibi
47+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live chibi check'
48+
- name: chicken
49+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live chicken check'
50+
- name: cyclone
51+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live cyclone check'
52+
- name: gambit
53+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live gambit check'
54+
- name: gauche
55+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live gauche check'
56+
- name: gerbil
57+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live gerbil check'
58+
- name: guile
59+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live guile check'
60+
- name: loko
61+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live loko check'
62+
- name: mit
63+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live mit check'
64+
- name: racket
65+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live racket check'
66+
- name: sagittarius
67+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live sagittarius check'
68+
69+
- name: rename
70+
run: docker tag ghcr.io/scheme-live/schemers:latest ghcr.io/scheme-live/schemers:stable
4471

72+
- name: push
73+
run: docker push ghcr.io/scheme-live/schemers:stable

.github/workflows/continuation-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Continuation Integration
1+
name: continuation
22

33
on:
44
push:
@@ -25,4 +25,4 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v2
2727
- name: check
28-
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:latest bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live ${{ matrix.implementation }} check'
28+
run: docker run --volume $(pwd):/live --interactive --rm ghcr.io/scheme-live/schemers:stable bash -c 'cp /live/local/shell-subcommand.sh . && cd /live && SCHEME_LIVE_PREFIX=/ PATH=/opt/live/${{ matrix.implementation }}/bin:/live/local/bin:/usr/bin/:/bin USER=github scheme-live ${{ matrix.implementation }} check'

0 commit comments

Comments
 (0)