Skip to content

Commit 7ea3690

Browse files
authored
Merge pull request #76 from racket/racket-8.12
build: add 8.12
2 parents 6c2cb71 + 11ea843 commit 7ea3690

File tree

4 files changed

+23
-9
lines changed

4 files changed

+23
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
series: [7x, 8x]
14+
series: [7x, 8x_1, 8x_2]
1515
steps:
1616
- uses: actions/checkout@master
1717
- run: ./build.sh ${{ matrix.series }}

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
series: [7x, 8x, snapshot]
10+
series: [7x, 8x_1, 8x_2, snapshot]
1111
steps:
1212
- uses: actions/checkout@master
1313
- run: ./build.sh ${{ matrix.series }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# racket-docker
22

3-
Docker images for various Racket versions available on DockerHub as [`racket/racket:<version>`](https://hub.docker.com/r/racket/racket/). For example, to run a Racket 8.11.1 REPL:
3+
Docker images for various Racket versions available on DockerHub as [`racket/racket:<version>`](https://hub.docker.com/r/racket/racket/). For example, to run a Racket 8.12 REPL:
44

55
```
6-
$ docker run -it racket/racket:8.11.1
6+
$ docker run -it racket/racket:8.12-full
77
```
88

99
#### Normal images
@@ -16,7 +16,7 @@ These images use the `minimal-install` of Racket to avoid pulling in things like
1616
DrRacket or Scribble. This also means many `raco` commands such as `raco make`
1717
will be missing; install the `compiler-lib` package to get most of the standard
1818
`raco` commands. Alternatively, use the "full" images instead such as
19-
`racket/racket:8.11.1-full`.
19+
`racket/racket:8.12-full`.
2020

2121
Versions: 6.1 and above. Racket CS images are available for 7.4 and above.
2222

build.sh

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
set -euxfo pipefail;
44

55
case "${1:-x}" in
6+
8x_2) declare -r series="8x_2" ;;
7+
8x_1) declare -r series="8x_1" ;;
68
8x) declare -r series="8x" ;;
79
7x) declare -r series="7x" ;;
810
6x) declare -r series="6x" ;;
911
snapshot) declare -r series="snapshot" ;;
1012

11-
*) echo "usage: $0 [6x|7x|8x|snapshot]"
13+
*) echo "usage: $0 [6x|7x|8x|8x_1|8x_2|snapshot]"
1214
exit 1
1315
;;
1416
esac
@@ -122,19 +124,29 @@ foreach () {
122124
done;
123125
};
124126

125-
declare -r LATEST_RACKET_VERSION="8.11.1";
127+
declare -r LATEST_RACKET_VERSION="8.12";
126128

127129
tag_latest () {
128130
declare -r repository="${1}";
129131
docker image tag "${repository}:${LATEST_RACKET_VERSION}" "${repository}:latest";
130132
};
131133

132-
build_all_8x () {
133-
foreach build_8x "8.0" "8.1" "8.2" "8.3" "8.4" "8.5" "8.6" "8.7" "8.8" "8.9" "8.10" "8.11" "8.11.1";
134+
# The 8x series is split into two to avoid running into storage limits in CI.
135+
build_8x_2 () {
136+
foreach build_8x "8.10" "8.11" "8.11.1" "8.12";
134137
tag_latest "${DOCKER_REPOSITORY}";
135138
tag_latest "${SECONDARY_DOCKER_REPOSITORY}";
136139
}
137140

141+
build_8x_1 () {
142+
foreach build_8x "8.0" "8.1" "8.2" "8.3" "8.4" "8.5" "8.6" "8.7" "8.8" "8.9";
143+
}
144+
145+
build_all_8x () {
146+
build_8x_1;
147+
build_8x_2;
148+
}
149+
138150
build_all_7x () {
139151
foreach build_6x_7x_old "7.0" "7.1" "7.3";
140152
foreach build_7x "7.4" "7.5" "7.6" "7.7" "7.8" "7.9";
@@ -147,6 +159,8 @@ build_all_6x () {
147159
build_base;
148160

149161
case "$series" in
162+
8x_2) build_8x_2 ;;
163+
8x_1) build_8x_1 ;;
150164
8x) build_all_8x ;;
151165
7x) build_all_7x ;;
152166
6x) build_all_6x ;;

0 commit comments

Comments
 (0)