CI: build all targets
authorPaul Spooren <mail@aparcar.org>
Mon, 15 Mar 2021 23:15:03 +0000 (13:15 -1000)
committerPaul Spooren <mail@aparcar.org>
Thu, 24 Jun 2021 17:42:38 +0000 (07:42 -1000)
Signed-off-by: Paul Spooren <mail@aparcar.org>
.ci/default.config
.github/workflows/build.yml

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..efc14654ca1979b0971e72885fc187cdbc1e3b64 100644 (file)
@@ -0,0 +1 @@
+CONFIG_BUILDBOT=y
index 6110398b94f30f73456b93e3905c8d038d968f96..5f562393057967619aa4b53c3a555de9ed745f64 100644 (file)
@@ -17,7 +17,7 @@ jobs:
       id: find_targets
       run: |
         TARGETS="$(perl ./scripts/dump-target-info.pl targets 2>/dev/null | awk '{ print $1 }')"
-        JSON='{"targets":['
+        JSON='{"config": ["default"], "targets":['
         FIRST=1
         for TARGET in $TARGETS; do
           [[ $FIRST -ne 1 ]] && JSON="$JSON"','
@@ -31,6 +31,7 @@ jobs:
         echo -e "\n---- targets ----\n"
 
         echo "targets=$JSON" >> "$GITHUB_ENV"
+        echo "::set-output name=targets::$JSON"
 
   build:
     name: Build ${{ matrix.config }}/${{ matrix.targets }}
@@ -38,17 +39,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       fail-fast: False
-      matrix:
-        targets:
-          - "x86/64"
-          - "mediatek/mt7622"
-        config:
-          - "default"
-          - "selinux"
-          - "nls"
-          - "gcc10"
-
-      #matrix: ${{fromJson(needs.determine_targets.outputs.targets)}}
+      matrix: ${{fromJson(needs.determine_targets.outputs.targets)}}
 
     steps:
     - name: Checkout