generated from exercism/generic-test-runner
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to YS version 0.1.73 * Makefile can build/push a devel docker image * Version 0.1.74 * Update tests/syntax-error/expected_results.json * Makefile updates VERSION ARG in Dockerfile
- Loading branch information
1 parent
6280112
commit 1352b8f
Showing
4 changed files
with
76 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Note: | ||
# * YAMLScript doesn't yet run on alpine | ||
# * ubuntu:24.04 is 78.1MB | ||
# * debian:bookworm is 117MB | ||
# | ||
# This image will also be used for the YAMLScript track repo's GHA workflows. | ||
|
||
FROM ubuntu:24.04 | ||
|
||
# ARG VERSION | ||
|
||
# Install packages required to run the tests: | ||
RUN apt-get update \ | ||
&& apt-get install -y apt-utils \ | ||
&& DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y \ | ||
curl \ | ||
jq \ | ||
make \ | ||
perl \ | ||
xz-utils \ | ||
&& true | ||
|
||
# Install a specific version of shellcheck: | ||
RUN curl -sSOL https://github.com/koalaman/shellcheck/releases/download/v0.10.0/shellcheck-v0.10.0.linux.x86_64.tar.xz \ | ||
&& tar xf shellcheck-v0.10.0.linux.x86_64.tar.xz \ | ||
&& mv shellcheck-v0.10.0/shellcheck /usr/local/bin/shellcheck \ | ||
&& rm -fr shellcheck-* \ | ||
&& true | ||
|
||
# # Install /usr/local/bin/ys (the YAMLScript interpreter binary): | ||
# RUN curl -s https://yamlscript.org/install | BIN=1 VERSION=${VERSION} bash | ||
|
||
ENV XXX_BUILD 2 | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y \ | ||
gcc \ | ||
git \ | ||
zlib1g-dev \ | ||
&& rm -f /.dockerenv \ | ||
&& git clone --branch=main --depth=1 https://github.com/yaml/yamlscript /yamlscript \ | ||
&& IS_ROOT=false make -C /yamlscript/ys install PREFIX=/usr/local \ | ||
&& IS_ROOT=false make -C /yamlscript sysclean \ | ||
&& rm -fr /yamlscript /root/.m2 \ | ||
&& apt-get purge -y \ | ||
gcc \ | ||
git \ | ||
zlib1g-dev \ | ||
&& true | ||
|
||
WORKDIR /opt/test-runner | ||
|
||
COPY . . | ||
|
||
ENTRYPOINT ["/opt/test-runner/bin/run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"status": "error", | ||
"message": "Runtime error:\nWrong number of args (1) passed to: sci.impl.fns/fun/arity-0--5026\nleap-test.ys .. \nDubious, test returned 1 (wstat 256, 0x100)\nNo subtests run \nTest Summary Report\n-------------------\nleap-test.ys (Wstat: 256 (exited 1) Tests: 0 Failed: 0)\n Non-zero exit status: 1" | ||
"message": "Runtime error:\nWrong number of args (1) passed to: sci.impl.fns/fun/arity-0--4758\nleap-test.ys .. \nDubious, test returned 1 (wstat 256, 0x100)\nNo subtests run \nTest Summary Report\n-------------------\nleap-test.ys (Wstat: 256 (exited 1) Tests: 0 Failed: 0)\n Non-zero exit status: 1" | ||
} |