Skip to content

Commit

Permalink
Restoring workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
rawalexe committed Oct 12, 2023
1 parent 6a26284 commit 425e27c
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 35 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/freertos_demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,25 @@ jobs:
stepName: Checkout Repository
name: ${{ env.stepName }}
uses: actions/checkout@v3

- name: Fetch Required Submodules

- env:
stepName: Fetch Required Submodule
name: ${{ env.stepName }}
shell: bash
run: |
# Fetch Required Submodules
echo "::group::Fetch Required Submodules"
# ${{ env.stepName }}
echo -e "::group::${{ env.stepName }}"
set +e
git submodule update --checkout --init --depth 1 \
FreeRTOS/Source \
FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
echo "::endgroup::"
if [[ "$?" = "0" ]]
then
echo -e "\033[32;3mCloned Submodules\033[0m"
exitStatus=$?
set -e
echo -e "::endgroup::"
if [ $exitStatus -eq 0 ]; then
echo -e "${{ env.bashPass }} ${{env.stepName}} ${{ env.bashEnd }}"
else
echo -e "\033[32;31mSubmodules Clone Failed...\033[0m"
echo -e "${{ env.bashFail }} ${{env.stepName}} ${{ env.bashEnd }}"
exit 1
fi
Expand Down
54 changes: 28 additions & 26 deletions .github/workflows/freertos_plus_demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1035,9 +1035,11 @@ jobs:
# ${{ env.stepName }}
echo -e "::group::${{ env.stepName }}"
git submodule update --checkout --init --depth 1 \
FreeRTOS/Source \
FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP \
FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
FreeRTOS/Source \
FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP \
FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
echo "::endgroup::"
echo -e "${{ env.bashPass }} ${{ env.stepName }} ${{ env.bashEnd }} "
- env:
stepName: Install prerequisite packages
Expand Down Expand Up @@ -1284,29 +1286,29 @@ jobs:
# ${{ env.stepName }}
echo -e "::group::${{ env.stepName }}"
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/FreeRTOS-Plus-Trace \
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/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/FreeRTOS-Plus-Trace \
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
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
Expand Down

0 comments on commit 425e27c

Please sign in to comment.