From b35095fae47ea7adad9fe1f90a157d6998385c68 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Mon, 15 Mar 2021 13:15:03 -1000 Subject: [PATCH] CI: build all targets Signed-off-by: Paul Spooren --- .ci/default.config | 1 + .github/workflows/build.yml | 15 +++------------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.ci/default.config b/.ci/default.config index e69de29bb2..efc14654ca 100644 --- a/.ci/default.config +++ b/.ci/default.config @@ -0,0 +1 @@ +CONFIG_BUILDBOT=y diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6110398b94..5f56239305 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 -- 2.30.2