Testing both `debug` and `release` builds in CI
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
Read the discussion in this issue and the linked PR #186, then inspect the CI workflows in the RustCrypto projects cited here. Work out how to add debug and release test coverage to the relevant CI boilerplate, including feature combinations, and check that both build modes run successfully. Done means the CI setup tests both debug and release builds.
索引モデルが issue の本文から書いたものです。
説明
Note: some past discussion in https://github.com/RustCrypto/MACs/pull/186
Several of our projects test --release builds in CI: https://github.com/search?q=org%3ARustCrypto+cargo+test+--release+language%3AYAML&type=code&l=YAML
Many of our projects currently test release builds exclusively. I think where we're not testing debug builds, we probably should, in order to test debug assertions. We can probably do things like cargo hack and feature-by-feature testing in debug builds. But I think we should still include something like cargo test --release --all-features to test release builds, possibly as its own job which can run in parallel.
Debug versus release builds involve conditional compilation, so testing debug builds exclusively doesn't give you a full picture of what happens in a release build. Only testing the release build can do that, and IMO release builds are what actually matter. This is why I originally included testing --release builds in the CI boilerplate. In general we test many other combinations as we're attempting to produce high-assurance software, so testing both debug and release builds seems like standard practice to me.
Some examples of other Rust cryptography projects which test release builds in CI:
- 主要言語
- 言語のデータがありません
- スター
- 13
- フォーク
- 4
- 平均マージ
- 41分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RustCrypto/meta のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
RustCrypto/meta#38 · コメント 5 件 ·
-
Proof systemオープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
RustCrypto/meta#37 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
RustCrypto/meta#36 · コメント 8 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
RustCrypto/meta#34 · コメント 8 件 ·
-
Replace `subtle` with `ctutils`?再び着手できるかも @newpavlov が 323 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
RustCrypto/meta#29 · コメント 1 件 · 担当者 1 名 ·
RustCrypto/meta の issue をすべて見る
似ている issue
-
Release: a tag the manifests do not match fails `check`, and every build job still runs to the endオープンCI/CD enhancement need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
backend bug frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NVIDIA/numba-cuda-mlir#467 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信