From 0f81749b0d018f6e3ed42f5299b5a27ff84dc5a7 Mon Sep 17 00:00:00 2001 From: Lucas PASCAL Date: Tue, 21 Jan 2025 17:45:43 +0100 Subject: [PATCH] [test] --- .github/workflows/build_all.yml | 22 +++++++++++++++++++ ...end_to_end_tests_of_reusable_workflows.yml | 6 ----- .../workflows/reusable_get_apps_metadata.yml | 2 +- .github/workflows/scripts_checking.yml | 6 ----- 4 files changed, 23 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/build_all.yml diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml new file mode 100644 index 0000000..2d699d6 --- /dev/null +++ b/.github/workflows/build_all.yml @@ -0,0 +1,22 @@ +name: Build all apps + +on: + workflow_dispatch: + pull_request: + +jobs: + + build_all_applications: + name: Build all the applications on all the devices + uses: ./.github/workflows/reusable_build_several.yml + with: + sdk: all + devices: '["nanox"]' + + build_all_applications_on_latest: + name: Build all the applications on all the devices + uses: ./.github/workflows/reusable_build_several.yml + with: + sdk: all + sdk_ref: origin/master + devices: '["flex", "stax"]' diff --git a/.github/workflows/end_to_end_tests_of_reusable_workflows.yml b/.github/workflows/end_to_end_tests_of_reusable_workflows.yml index 33ec89a..6b77158 100644 --- a/.github/workflows/end_to_end_tests_of_reusable_workflows.yml +++ b/.github/workflows/end_to_end_tests_of_reusable_workflows.yml @@ -3,12 +3,6 @@ name: E2E testing of the reusable workflows on: workflow_dispatch: - push: - branches: - - master - - main - - develop - pull_request: # This workflow file contains the duplicates of several applications that use reusable workflows # The duplication is unfortunate but can't be avoided as github actions do not (yet ?) accept the diff --git a/.github/workflows/reusable_get_apps_metadata.yml b/.github/workflows/reusable_get_apps_metadata.yml index bc8022c..aa42103 100644 --- a/.github/workflows/reusable_get_apps_metadata.yml +++ b/.github/workflows/reusable_get_apps_metadata.yml @@ -39,7 +39,7 @@ jobs: - name: Define the list of application to build by device id: process_devices run: | - devices="$(python ./scripts/parse_all_apps.py -s ${{ inputs.sdk }} -d ${{ inputs.devices }} -t ${{ secrets.GITHUB_TOKEN }}" + devices="$(python ./scripts/parse_all_apps.py -s ${{ inputs.sdk }} -d ${{ inputs.devices }} -t ${{ secrets.GITHUB_TOKEN }} -l 4)" echo "apps_config=$devices" >> $GITHUB_OUTPUT echo $devices outputs: diff --git a/.github/workflows/scripts_checking.yml b/.github/workflows/scripts_checking.yml index a34c3a6..5f9e631 100644 --- a/.github/workflows/scripts_checking.yml +++ b/.github/workflows/scripts_checking.yml @@ -2,12 +2,6 @@ name: Scripts quality CI on: workflow_dispatch: - push: - branches: - - master - - main - - develop - pull_request: jobs: shellcheck: