This commit is contained in:
Eric Wolz 2024-02-10 09:48:49 -08:00 коммит произвёл GitHub
Родитель 8a0c0dd079
Коммит 31ddaeb7c0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 40 добавлений и 41 удалений

Просмотреть файл

@ -92,47 +92,46 @@ jobs:
mergeTestResults: true
testRunTitle: 'windowsx86'
condition: succeededOrFailed()
# # [ewertons] Disabled temporarily. Unit tests are failing.
# - job: windowsx64debug
# pool:
# name: 'sdk-c--win-vs2022'
# displayName: 'Windows x64 (Debug)'
# steps:
# - script: |
# call jenkins\windows_c.cmd --platform x64
# displayName: 'Build'
# - script: |
# call jenkins\windows_c_VsDevCmd.cmd x64
# cd cmake && ctest -T test --no-compress-output -C "Debug" -V -j 16 --schedule-random
# displayName: "Run Tests"
# env:
# IOTHUB_CONNECTION_STRING: $(IOTHUB-CONNECTION-STRING)
# IOTHUB_EVENTHUB_CONNECTION_STRING: $(IOTHUB-EVENTHUB-CONNECTION-STRING)
# IOTHUB_E2E_X509_CERT_BASE64: $(IOTHUB-E2E-X509-CERT-BASE64)
# IOTHUB_E2E_X509_PRIVATE_KEY_BASE64: $(IOTHUB-E2E-X509-PRIVATE-KEY-BASE64)
# IOTHUB_E2E_X509_THUMBPRINT: $(IOTHUB-E2E-X509-THUMBPRINT)
# IOTHUB_POLICY_KEY: $(IOTHUB-POLICY-KEY)
# STORAGE_ACCOUNT_CONNECTION_STRING: $(STORAGE-ACCOUNT-CONNECTION-STRING)
# IOT_DPS_CONNECTION_STRING: $(IOT-DPS-CONNECTION-STRING)
# IOT_DPS_ID_SCOPE: $(IOT-DPS-ID-SCOPE)
# IOTHUB_CA_ROOT_CERT: $(IOTHUB-CA-ROOT-CERT)
# IOTHUB_CA_ROOT_CERT_KEY: $(IOTHUB-CA-ROOT-CERT-KEY)
# IOT_DPS_GLOBAL_ENDPOINT: $(IOT-DPS-GLOBAL-ENDPOINT)
# IOTHUB_DEVICE_CONN_STRING_INVALIDCERT: $(IOTHUB-DEVICE-CONN-STRING-INVALIDCERT)
# IOTHUB_CONN_STRING_INVALIDCERT: $(IOTHUB-CONN-STRING-INVALIDCERT)
# DPS_GLOBALDEVICEENDPOINT_INVALIDCERT: $(DPS-GLOBALDEVICEENDPOINT-INVALIDCERT)
# PROVISIONING_CONNECTION_STRING_INVALIDCERT: $(PROVISIONING-CONNECTION-STRING-INVALIDCERT)
# IOT_DPS_INDIVIDUAL_X509_CERTIFICATE: $(IOTHUB-E2E-X509-ECC-CERT-BASE64)
# IOT_DPS_INDIVIDUAL_X509_KEY: $(IOTHUB-E2E-X509-ECC-PRIVATE-KEY-BASE64)
# IOT_DPS_INDIVIDUAL_REGISTRATION_ID: $(IOT-DPS-INDIVIDUAL-REGISTRATION-ID)
# - task: PublishTestResults@2
# displayName: 'Publish Windows x64 (Debug) Results'
# inputs:
# testRunner: CTest
# testResultsFiles: '**/Test.xml'
# mergeTestResults: true
# testRunTitle: 'windowsx64'
# condition: succeededOrFailed()
- job: windowsx64debug
pool:
name: 'sdk-c--win-vs2022'
displayName: 'Windows x64 (Debug)'
steps:
- script: |
call jenkins\windows_c.cmd --platform x64
displayName: 'Build'
- script: |
call jenkins\windows_c_VsDevCmd.cmd x64
cd cmake && ctest -T test --no-compress-output -C "Debug" -V -j 16 --schedule-random
displayName: "Run Tests"
env:
IOTHUB_CONNECTION_STRING: $(IOTHUB-CONNECTION-STRING)
IOTHUB_EVENTHUB_CONNECTION_STRING: $(IOTHUB-EVENTHUB-CONNECTION-STRING)
IOTHUB_E2E_X509_CERT_BASE64: $(IOTHUB-E2E-X509-CERT-BASE64)
IOTHUB_E2E_X509_PRIVATE_KEY_BASE64: $(IOTHUB-E2E-X509-PRIVATE-KEY-BASE64)
IOTHUB_E2E_X509_THUMBPRINT: $(IOTHUB-E2E-X509-THUMBPRINT)
IOTHUB_POLICY_KEY: $(IOTHUB-POLICY-KEY)
STORAGE_ACCOUNT_CONNECTION_STRING: $(STORAGE-ACCOUNT-CONNECTION-STRING)
IOT_DPS_CONNECTION_STRING: $(IOT-DPS-CONNECTION-STRING)
IOT_DPS_ID_SCOPE: $(IOT-DPS-ID-SCOPE)
IOTHUB_CA_ROOT_CERT: $(IOTHUB-CA-ROOT-CERT)
IOTHUB_CA_ROOT_CERT_KEY: $(IOTHUB-CA-ROOT-CERT-KEY)
IOT_DPS_GLOBAL_ENDPOINT: $(IOT-DPS-GLOBAL-ENDPOINT)
IOTHUB_DEVICE_CONN_STRING_INVALIDCERT: $(IOTHUB-DEVICE-CONN-STRING-INVALIDCERT)
IOTHUB_CONN_STRING_INVALIDCERT: $(IOTHUB-CONN-STRING-INVALIDCERT)
DPS_GLOBALDEVICEENDPOINT_INVALIDCERT: $(DPS-GLOBALDEVICEENDPOINT-INVALIDCERT)
PROVISIONING_CONNECTION_STRING_INVALIDCERT: $(PROVISIONING-CONNECTION-STRING-INVALIDCERT)
IOT_DPS_INDIVIDUAL_X509_CERTIFICATE: $(IOTHUB-E2E-X509-ECC-CERT-BASE64)
IOT_DPS_INDIVIDUAL_X509_KEY: $(IOTHUB-E2E-X509-ECC-PRIVATE-KEY-BASE64)
IOT_DPS_INDIVIDUAL_REGISTRATION_ID: $(IOT-DPS-INDIVIDUAL-REGISTRATION-ID)
- task: PublishTestResults@2
displayName: 'Publish Windows x64 (Debug) Results'
inputs:
testRunner: CTest
testResultsFiles: '**/Test.xml'
mergeTestResults: true
testRunTitle: 'windowsx64'
condition: succeededOrFailed()
- job: windowsx64release
timeoutInMinutes: 150
variables: