Skip to content

Commit

Permalink
Update rapidyaml to 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
biojppm committed Jun 11, 2024
1 parent 6d6a3e9 commit 3c9dd7b
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 20 deletions.
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
34 changes: 21 additions & 13 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ make build
It contains the following YAML parsing test programs and their supporting
runtime requirements:

* `yaml-test-parse-dotnet` -- https://github.com/aaubry/YamlDotNet
* `yaml-test-parse-goyaml` -- https://github.com/go-yaml/yaml
* `yaml-test-parse-hsref` -- https://github.com/orenbenkiki/yamlreference
* `yaml-test-parse-hsyaml` -- https://github.com/haskell-hvr/HsYAML
* `yaml-test-parse-libfyaml` -- https://github.com/pantoniou/libfyaml
* `yaml-test-parse-libyaml` -- https://github.com/yaml/libyaml
* `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-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
* `yaml-test-parse-yamlref` -- https://github.com/yaml/yaml-reference-parser
* `yaml-test-parse-dotnet` -- https://github.com/aaubry/YamlDotNet
* `yaml-test-parse-goyaml` -- https://github.com/go-yaml/yaml
* `yaml-test-parse-hsref` -- https://github.com/orenbenkiki/yamlreference
* `yaml-test-parse-hsyaml` -- https://github.com/haskell-hvr/HsYAML
* `yaml-test-parse-libfyaml` -- https://github.com/pantoniou/libfyaml
* `yaml-test-parse-libyaml` -- https://github.com/yaml/libyaml
* `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-evt` -- https://github.com/biojppm/rapidyaml/
* `yaml-test-parse-rapid-tree` -- 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
* `yaml-test-parse-yamlref` -- https://github.com/yaml/yaml-reference-parser

## Making the Docker Image

Expand All @@ -35,6 +37,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-evt
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 -

0 comments on commit 3c9dd7b

Please sign in to comment.