From e26d8efa865dd80ed9aff61bcbeff8c7f49c635f Mon Sep 17 00:00:00 2001 From: Paul Bartell Date: Tue, 25 Oct 2022 12:40:41 -0700 Subject: [PATCH] Separate corePKCS11 demo into it's own job. --- .github/workflows/freertos_plus_demos.yml | 54 ++++++++++++++--------- 1 file changed, 32 insertions(+), 22 deletions(-) diff --git a/.github/workflows/freertos_plus_demos.yml b/.github/workflows/freertos_plus_demos.yml index 55064c39e0..bebfd9fa3f 100644 --- a/.github/workflows/freertos_plus_demos.yml +++ b/.github/workflows/freertos_plus_demos.yml @@ -65,7 +65,7 @@ jobs: run: msbuild mqtt_mutual_auth_demo_with_sara_r4.sln -t:rebuild -property:Configuration=Debug winsim_coreHTTP: - name: coreHTTP Windows Simulator Demos + name: coreHTTP WinSim Demos runs-on: windows-2019 steps: - name: Checkout Repository @@ -76,30 +76,14 @@ jobs: run: | git submodule update --checkout --init --depth 1 \ FreeRTOS/Source \ - FreeRTOS-Plus/Source/AWS/device-defender \ - FreeRTOS-Plus/Source/AWS/device-shadow \ - FreeRTOS-Plus/Source/AWS/fleet-provisioning \ - FreeRTOS-Plus/Source/AWS/jobs \ - FreeRTOS-Plus/Source/AWS/ota \ FreeRTOS-Plus/Source/AWS/sigv4 \ - FreeRTOS-Plus/Source/FreeRTOS-Cellular-Interface \ - FreeRTOS-Plus/Source/FreeRTOS-Cellular-Modules/bg96 \ - FreeRTOS-Plus/Source/FreeRTOS-Cellular-Modules/hl7802 \ - FreeRTOS-Plus/Source/FreeRTOS-Cellular-Modules/sara-r4 \ FreeRTOS-Plus/Source/Application-Protocols/coreHTTP \ FreeRTOS-Plus/Source/Application-Protocols/coreMQTT \ - FreeRTOS-Plus/Source/Application-Protocols/coreMQTT-Agent \ - FreeRTOS-Plus/Source/Application-Protocols/coreSNTP \ FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP \ FreeRTOS-Plus/Source/Utilities/backoff_algorithm \ FreeRTOS-Plus/Source/coreJSON \ - FreeRTOS-Plus/Source/corePKCS11 \ - FreeRTOS-Plus/ThirdParty/mbedtls \ - FreeRTOS-Plus/ThirdParty/tinycbor \ - FreeRTOS-Plus/ThirdParty/wolfSSL - + FreeRTOS-Plus/ThirdParty/mbedtls git -C FreeRTOS-Plus/Source/Application-Protocols/coreHTTP submodule update --checkout --init --depth 1 source/dependency/3rdparty/llhttp - git -C FreeRTOS-Plus/Source/corePKCS11 submodule update --checkout --init --depth 1 source/dependency/3rdparty/pkcs11 - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.1 @@ -147,6 +131,36 @@ jobs: working-directory: FreeRTOS-Plus/Demo/coreHTTP_Windows_Simulator/HTTP_S3_Upload run: msbuild CoreHTTP_S3_Upload.sln -t:rebuild -property:Configuration=Debug -m + + winsim_corePKCS11: + name: corePKCS11 WinSim Demos + runs-on: windows-2019 + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Fetch Submodules + shell: bash + run: | + git submodule update --checkout --init --depth 1 \ + FreeRTOS/Source \ + FreeRTOS-Plus/Source/AWS/fleet-provisioning \ + FreeRTOS-Plus/Source/Application-Protocols/coreMQTT \ + FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP \ + FreeRTOS-Plus/Source/Utilities/backoff_algorithm \ + FreeRTOS-Plus/Source/coreJSON \ + FreeRTOS-Plus/Source/corePKCS11 \ + FreeRTOS-Plus/ThirdParty/mbedtls + + git -C FreeRTOS-Plus/Source/corePKCS11 submodule update --checkout --init --depth 1 source/dependency/3rdparty/pkcs11 + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v1.1 + + - name: corePKCS11 Demo + working-directory: FreeRTOS-Plus/Demo/corePKCS11_Windows_Simulator + run: msbuild CorePKCS11_Demos.sln -t:rebuild -m + winsim_corelibs: name: core Library Windows Simulator Demos runs-on: windows-2019 @@ -252,10 +266,6 @@ jobs: working-directory: FreeRTOS-Plus/Demo/corePKCS11_MQTT_Mutual_Auth_Windows_Simulator run: msbuild pkcs11_mqtt_mutual_auth_demo.sln -t:rebuild -property:Configuration=Debug -m - - name: corePKCS11 Demo - working-directory: FreeRTOS-Plus/Demo/corePKCS11_Windows_Simulator - run: msbuild pkcs11_demos.sln -t:rebuild -property:Configuration=Debug -m - - name: Configure coreSNTP_Windows_Simulator shell: bash working-directory: FreeRTOS-Plus/Demo/coreSNTP_Windows_Simulator