GH CD: Add Modbus and open62541 sources.
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Fri, 12 Aug 2022 13:14:33 +0200
changeset 84 8e01f3bb59df
parent 83 db3f332d7144
child 85 63af88f62324
GH CD: Add Modbus and open62541 sources.
.github/workflows/build_bundles.yml
.github/workflows/prep_sources.yml
--- a/.github/workflows/build_bundles.yml	Wed Aug 10 17:50:04 2022 +0200
+++ b/.github/workflows/build_bundles.yml	Fri Aug 12 13:14:33 2022 +0200
@@ -56,7 +56,9 @@
         ./build_in_docker.sh \
             beremiz_revisionid=${{ needs.sources.outputs.beremiz_revisionid }} \
             matiec_revisionid=${{ needs.sources.outputs.matiec_revisionid }} \
-            canfestival_revisionid=${{ needs.sources.outputs.canfestival_revisionid }}
+            canfestival_revisionid=${{ needs.sources.outputs.canfestival_revisionid }} \
+            Modbus_revisionid=${{ needs.sources.outputs.Modbus_revisionid }} \
+            open62541_revisionid=${{ needs.sources.outputs.open62541_revisionid }}
 
     - name: Upload built artifact
       uses: actions/upload-artifact@v3
--- a/.github/workflows/prep_sources.yml	Wed Aug 10 17:50:04 2022 +0200
+++ b/.github/workflows/prep_sources.yml	Fri Aug 12 13:14:33 2022 +0200
@@ -9,6 +9,10 @@
         value: ${{ jobs.get_sources.env.matiec_revisionid }}
       canfestival_revisionid:
         value: ${{ jobs.get_sources.env.canfestival_revisionid }}
+      Modbus_revisionid:
+        value: ${{ jobs.get_sources.env.Modbus_revisionid }}
+      open62541_revisionid:
+        value: ${{ jobs.get_sources.env.opem62541_revisionid }}
 
 jobs:
   get_sources:
@@ -18,6 +22,8 @@
         beremiz_revisionid: c3847f87bde2d520b856e353498cb2bad9d83911
         matiec_revisionid: ba00e2b18e7335c03c011e1c6b2a5d99fc3571c3
         canfestival_revisionid: 12a05e422666c738d1312259703f80150c747cb5
+        Modbus_revisionid: 75ba7cb15908411e71bf0e7b66651d182f347747
+        open62541_revisionid: ff73268829359639531ff02905c889f73a77b408
 
 
     steps:
@@ -40,20 +46,38 @@
           ref: ${{ env.canfestival_revisionid }}
           path: build/sources/canfestival
 
+    - uses: actions/checkout@v3
+      with:
+          repository: beremiz/Modbus
+          ref: ${{ env.Modbus_revisionid }}
+          path: build/sources/Modbus
+
+    - uses: actions/checkout@v3
+      with:
+          repository: open62541/open62541
+          ref: ${{ env.open62541_revisionid }}
+          path: build/sources/open62541
+
     - name: Touch expected Makfile targets to shortcut HG checkout
       run: |
         touch build/sources/beremiz_${{ env.beremiz_revisionid }}
         touch build/sources/matiec_${{ env.matiec_revisionid }}
         touch build/sources/canfestival_${{ env.canfestival_revisionid }}
+        touch build/sources/Modbus_${{ env.Modbus_revisionid }}
+        touch build/sources/open62541_${{ env.open62541_revisionid }}
         touch build/sources/beremiz_src
         touch build/sources/matiec_src
         touch build/sources/canfestival_src
+        touch build/sources/Modbus_src
+        touch build/sources/open62541_src
         touch build/own_sources
         cat >> build/revisions.txt <<EOF
         beremiz_public_dist ${{ github.sha }}
         beremiz ${{ env.beremiz_revisionid }}
         matiec ${{ env.matiec_revisionid }}
         canfestival ${{ env.canfestival_revisionid }}
+        Modbus ${{ env.Modbus_revisionid }}
+        open62541 ${{ env.open62541_revisionid }}
         EOF
 
     - name: Upload source artifact