9595 working-directory : kbs
9696 run : make check
9797
98+ - name : KBS PKCS11 Check
99+ run : cargo check -p kbs --no-default-features --features pkcs11
100+
98101 - name : KBS EncryptedDb Test
99102 working-directory : kbs
100103 env :
@@ -104,6 +107,16 @@ jobs:
104107 mysql -uroot -e "SET GLOBAL innodb_default_row_format=COMPACT"
105108 make check TEST_FEATURES=encrypted-db
106109
110+ - name : Shared Storage Test
111+ env :
112+ MYSQL_TEST_URL : mysql://root@127.0.0.1:3306/trustee_kbs_test
113+ run : |
114+ cargo test -p key-value-storage
115+ cargo test -p kbs shared_storage_mysql
116+ cargo test -p attestation-service shared_storage_mysql
117+ cargo test -p reference-value-provider-service shared_storage_mysql
118+ cargo test -p rvds shared_storage_mysql
119+
107120 as-check :
108121 if : |
109122 github.event_name == 'pull_request' ||
@@ -162,6 +175,12 @@ jobs:
162175 rustup component add --toolchain ${{ env.RUSTC_VERSION }} rustfmt rustc clippy
163176 rustup default ${{ env.RUSTC_VERSION }}
164177
178+ # Run before sudo-based tests create root-owned Cargo build/cache files.
179+ - name : Run pure-Rust SNP verifier tests and lint
180+ run : |
181+ cargo test -p verifier --no-default-features --features snp-rustcrypto snp:: --lib
182+ cargo clippy -p verifier --no-default-features --features snp-rustcrypto --all-targets -- -D warnings -A clippy::derive_partial_eq_without_eq
183+
165184 - name : AS Build
166185 working-directory : attestation-service
167186 run : |
@@ -254,5 +273,5 @@ jobs:
254273 run : |
255274 RUSTUP_TOOLCHAIN=nightly-2025-07-07 cargo check -p eventlog --target wasm32-unknown-unknown
256275 RUSTUP_TOOLCHAIN=nightly-2025-07-07 cargo check -p reference-value-provider-service --target wasm32-unknown-unknown --no-default-features # no "fs" feature in wasm
257- RUSTUP_TOOLCHAIN=nightly-2025-07-07 cargo check -p attestation-service --target wasm32-unknown-unknown --no-default-features --features tdx-dcap-rust,policy-artifact-server,policy-rvps,regorus-regovm
258- RUSTUP_TOOLCHAIN=nightly-2025-07-07 cargo check -p verifier --target wasm32-unknown-unknown --no-default-features --features tdx-dcap-rust
276+ RUSTUP_TOOLCHAIN=nightly-2025-07-07 cargo check -p attestation-service --target wasm32-unknown-unknown --no-default-features --features tdx-dcap-rust,snp-rustcrypto, policy-artifact-server,policy-rvps,regorus-regovm
277+ RUSTUP_TOOLCHAIN=nightly-2025-07-07 cargo check -p verifier --target wasm32-unknown-unknown --no-default-features --features tdx-dcap-rust,snp-rustcrypto
0 commit comments