add FORCE_SM4BLOCK_AESNI test

This commit is contained in:
Sun Yimin 2024-01-25 17:47:25 +08:00 committed by GitHub
parent a01428eaf3
commit f04d7f102f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View File

@ -40,6 +40,11 @@ jobs:
with:
files: ./coverage1.txt,./coverage2.txt
- name: Test Force SM4 Single Block with AES-NI
run: go test -short sm4/...
env:
FORCE_SM4BLOCK_AESNI: 1
- name: Test only
if: ${{ matrix.goVer != '1.18' }}
run: go test -short ./...

View File

@ -36,3 +36,9 @@ jobs:
DISABLE_SM4NI: 1
GODEBUG: x509sha1=1
GOARCH: ${{ matrix.arch }}
- name: Test Force SM4 Single Block with AES-NI
run: go test -v -short sm4/...
env:
DISABLE_SM4NI: 1
FORCE_SM4BLOCK_AESNI: 1