chemomer 1.0.0.0 → 1.0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +21 -5
- data/lib/chemomer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d82770ee66ecaa22f7b9f7dec9c5f76fc9362e10991196334d72b537b9197d4
|
|
4
|
+
data.tar.gz: 7a36ce51729d55a8546ccf59ce9eb52f2fec8f31668075e1ba4c983737f459c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12044208b2087b1438200d6c782661e3415779ca51b53e9974310e9a55820112c62d74cca7e64318de688493ea444b5dfe7d03e78fb4d74b7f3c2c3744b09524
|
|
7
|
+
data.tar.gz: dff19c9fc4d77ca883a03e98609d073a3a5ba7768513adb020eeeb70405004dae942ca39041def5e9fd1dcbc09b2e64e7eb597a8cda3e3d817d6629281816f36
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -5,6 +5,13 @@ on:
|
|
|
5
5
|
push:
|
|
6
6
|
branches: [main]
|
|
7
7
|
|
|
8
|
+
env:
|
|
9
|
+
# Hermetic CI: the engine ref and the oracle corpus ref are pinned,
|
|
10
|
+
# never floating. Bump these lines deliberately with each engine
|
|
11
|
+
# ride (the tag carries what changed).
|
|
12
|
+
ENGINE_REF: v1.0.1
|
|
13
|
+
CORPUS_REF: v0.3.41
|
|
14
|
+
|
|
8
15
|
jobs:
|
|
9
16
|
rspec:
|
|
10
17
|
strategy:
|
|
@@ -20,16 +27,25 @@ jobs:
|
|
|
20
27
|
ruby-version: ${{ matrix.ruby }}
|
|
21
28
|
bundler-cache: true
|
|
22
29
|
# The gem drives the engine through its C ABI — no engine code is
|
|
23
|
-
# vendored, so CI builds the cdylib from the engine
|
|
24
|
-
# shared contract) and points the suite at it. Specs
|
|
25
|
-
# the dylib gate on CHEMOMER_LIB; the rest run
|
|
30
|
+
# vendored, so CI builds the cdylib from the engine at the pinned
|
|
31
|
+
# tag (the shared contract) and points the suite at it. Specs
|
|
32
|
+
# that need the dylib gate on CHEMOMER_LIB; the rest run
|
|
33
|
+
# everywhere.
|
|
26
34
|
- uses: dtolnay/rust-toolchain@stable
|
|
27
|
-
- name: Build the chemomer cdylib
|
|
35
|
+
- name: Build the chemomer cdylib at $ENGINE_REF
|
|
28
36
|
run: |
|
|
29
|
-
git clone --depth 1 https://github.com/chemomer/chemomer engine
|
|
37
|
+
git clone --depth 1 --branch "$ENGINE_REF" https://github.com/chemomer/chemomer engine
|
|
30
38
|
cargo build --release --manifest-path engine/Cargo.toml
|
|
31
39
|
- name: Point CHEMOMER_LIB at the built dylib
|
|
32
40
|
run: |
|
|
33
41
|
lib=$(ls engine/target/release/libchemomer.dylib engine/target/release/libchemomer.so 2>/dev/null | head -1)
|
|
34
42
|
echo "CHEMOMER_LIB=$PWD/$lib" >> "$GITHUB_ENV"
|
|
43
|
+
- name: Clone the inchi-tests oracle corpus at $CORPUS_REF
|
|
44
|
+
uses: actions/checkout@v7
|
|
45
|
+
with:
|
|
46
|
+
repository: chemomer/inchi-tests
|
|
47
|
+
ref: ${{ env.CORPUS_REF }}
|
|
48
|
+
path: .inchi-tests
|
|
49
|
+
- name: Point INCHI_TESTS at the corpus
|
|
50
|
+
run: echo "INCHI_TESTS=$PWD/.inchi-tests" >> "$GITHUB_ENV"
|
|
35
51
|
- run: bundle exec rspec
|
data/lib/chemomer/version.rb
CHANGED