diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97145afe92ee1f5432562b1340ee56c8ebe8467c..92a2bcee269b412b3a4ee4ac8c5c4d2733b2c63a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,38 +37,14 @@ build:emscripten: -G Ninja - echo "=== Build (Emscripten) ===" && time ninja -j$(nproc) -test:variant: +test: stage: test needs: ["build:linux"] script: - - cd build && time ./tests/variant_test --log_level=test_suite - -test:sha: - stage: test - needs: ["build:linux"] - script: - - cd build && time ./tests/sha_test - -test:hmac: - stage: test - needs: ["build:linux"] - script: - - cd build && time ./tests/hmac_test - -test:saturation: - stage: test - needs: ["build:linux"] - script: - - cd build && time ./tests/saturation_test - -test:ecdsa: - stage: test - needs: ["build:linux"] - script: - - cd build && time ./tests/ecdsa_canon_test - -test:ecc: - stage: test - needs: ["build:linux"] - script: - - cd build && time ./tests/ecc_test testpassword /tmp/ecc_interop.dat + - cd build + - echo "=== variant_test ===" && time ./tests/variant_test --log_level=test_suite + - echo "=== sha_test ===" && time ./tests/sha_test + - echo "=== hmac_test ===" && time ./tests/hmac_test + - echo "=== saturation_test ===" && time ./tests/saturation_test + - echo "=== ecdsa_canon_test ===" && time ./tests/ecdsa_canon_test + - echo "=== ecc_test ===" && time ./tests/ecc_test testpassword /tmp/ecc_interop.dat diff --git a/CLAUDE.md b/CLAUDE.md index 25d85c12c038994153f1636c323a69a3c668e398..aaa303bc03f7fb67c8ad8d9aae1766eeac37033e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -190,16 +190,12 @@ build stage (parallel): ├── build:linux (~1m 15s) - full build, artifacts for tests └── build:emscripten (~20s) - minimal/WASM compilation check -test stage (parallel, after build:linux): -├── test:variant - fc::variant tests (25 cases) -├── test:sha - SHA hash tests -├── test:hmac - HMAC tests -├── test:saturation -├── test:ecdsa - ECDSA canonicalization -└── test:ecc - ECC interoperability +test stage (after build:linux): +└── test (~10s) - runs all tests serially: + variant_test, sha_test, hmac_test, saturation_test, ecdsa_canon_test, ecc_test ``` -**Total pipeline time: ~1m 40s** +**Total pipeline time: ~1m 30s** ### Emscripten/WASM Build