Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rapidyaml to 0.7.0 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ FROM_PYYAML := yamlio/yaml-test-alpine:$(TAG_ALPINE)
$(call add,PYYAML)

REPO_RAPID := https://github.com/biojppm/rapidyaml
TAG_RAPID := 0.4.1
TAG_RAPID := v0.7.0
FROM_RAPID := yamlio/yaml-test-alpine:$(TAG_ALPINE)
$(call add,RAPID)

Expand Down
7 changes: 7 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ runtime requirements:
* `yaml-test-parse-nimyaml` -- https://github.com/flyx/NimYAML
* `yaml-test-parse-npmyaml` -- https://github.com/eemeli/yaml
* `yaml-test-parse-pyyaml` -- https://github.com/yaml/pyyaml
* `yaml-test-parse-rapid` -- https://github.com/biojppm/rapidyaml/
* `yaml-test-parse-ruamel` -- https://pypi.org/project/ruamel.yaml/
* `yaml-test-parse-snake` -- https://bitbucket.org/snakeyaml/snakeyaml
* `yaml-test-parse-yamlpp` -- https://github.com/perlpunk/YAML-PP-p5
Expand All @@ -35,6 +36,12 @@ It is based on the latest `alpine` image with the necessary files copied in
from the other images.
It's currently around 400MB in size.

You can also build an image for an individual processor by going into
the folder of that processor under the [docker folder](./docker); for
example, to build rapidyaml the command is `make -C docker/rapid
build`.


## Repository Layout

* `Makefile` -- Automates all the tasks.
Expand Down
3 changes: 2 additions & 1 deletion docker/main/bin/test-yaml-runtimes
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ testers="
yaml-test-parse-npmyaml
yaml-test-parse-ppyaml
yaml-test-parse-pyyaml
yaml-test-parse-rapid
yaml-test-parse-rapid-engine
yaml-test-parse-rapid-tree
yaml-test-parse-ruamel
yaml-test-parse-rustyaml
yaml-test-parse-snake
Expand Down
7 changes: 5 additions & 2 deletions docker/rapid/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WORKDIR /build

RUN git init --quiet \
&& git remote add origin $REPO \
&& git fetch origin v$TAG \
&& git fetch origin $TAG \
&& git reset --hard FETCH_HEAD \
&& git submodule update --init --recursive \
&& true
Expand All @@ -37,5 +37,8 @@ RUN cp \
/export/usr/local/bin/ryml-yaml-events \
&& true

COPY bin/yaml-test-parse-rapid \
COPY bin/yaml-test-parse-rapid-engine \
/export/usr/local/bin/

COPY bin/yaml-test-parse-rapid-tree \
/export/usr/local/bin/
3 changes: 0 additions & 3 deletions docker/rapid/bin/yaml-test-parse-rapid

This file was deleted.

3 changes: 3 additions & 0 deletions docker/rapid/bin/yaml-test-parse-rapid-engine
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

ryml-yaml-events -s -
3 changes: 3 additions & 0 deletions docker/rapid/bin/yaml-test-parse-rapid-tree
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

ryml-yaml-events -t -