From b50231d44359d23f8ce6ce47b084d8c61aad1beb Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 1 Mar 2023 06:13:30 +0800 Subject: [PATCH 1/4] Create manual.yml --- .github/workflows/manual.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000000..47f24e11ff --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,30 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "greet" + greet: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: Send greeting + run: echo "Hello ${{ github.event.inputs.name }}" From 8126ebc2ea9e9ef75ce11642d6e296be0ee94fa8 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Tue, 28 Feb 2023 23:25:14 +0100 Subject: [PATCH 2/4] adding qemu workflow --- .github/workflows/manual.yml | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 47f24e11ff..13e0feb35f 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -1,6 +1,6 @@ # This is a basic workflow that is manually triggered -name: Manual workflow +name: Build and Run QEMU Tests # Controls when the action will run. Workflow runs when manually triggered using the UI # or API. @@ -16,15 +16,24 @@ on: # Input has to be provided for the workflow to run required: true -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "greet" - greet: - # The type of runner that the job will run on - runs-on: ubuntu-latest +#on: +# pull_request: +# types: [opened, reopened, synchronize] - # Steps represent a sequence of tasks that will be executed as part of the job +jobs: + container: + runs-on: ubuntu-latest + container: + image: zimkal/qemu2 + options: --user root steps: - # Runs a single command using the runners shell - - name: Send greeting - run: echo "Hello ${{ github.event.inputs.name }}" + - name: Checkout + uses: actions/checkout@v2 + with: + submodules: recursive + - run: | + . /opt/esp/idf/export.sh + python3 /opt/esp/idf/tools/ci/ci_build_apps.py . --target esp32 -m qemu -vv --pytest-apps + pytest --target esp32 -m qemu --embedded-services idf,qemu --build-dir=build_esp32_default + name: Run in container + \ No newline at end of file From 0063bf6682efcb70a1de669d9304984fb1175a96 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 28 Feb 2023 23:55:32 +0100 Subject: [PATCH 3/4] Revert "adding qemu workflow" This reverts commit 8126ebc2ea9e9ef75ce11642d6e296be0ee94fa8. --- .github/workflows/manual.yml | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 13e0feb35f..47f24e11ff 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -1,6 +1,6 @@ # This is a basic workflow that is manually triggered -name: Build and Run QEMU Tests +name: Manual workflow # Controls when the action will run. Workflow runs when manually triggered using the UI # or API. @@ -16,24 +16,15 @@ on: # Input has to be provided for the workflow to run required: true -#on: -# pull_request: -# types: [opened, reopened, synchronize] - +# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - container: + # This workflow contains a single job called "greet" + greet: + # The type of runner that the job will run on runs-on: ubuntu-latest - container: - image: zimkal/qemu2 - options: --user root + + # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: Checkout - uses: actions/checkout@v2 - with: - submodules: recursive - - run: | - . /opt/esp/idf/export.sh - python3 /opt/esp/idf/tools/ci/ci_build_apps.py . --target esp32 -m qemu -vv --pytest-apps - pytest --target esp32 -m qemu --embedded-services idf,qemu --build-dir=build_esp32_default - name: Run in container - \ No newline at end of file + # Runs a single command using the runners shell + - name: Send greeting + run: echo "Hello ${{ github.event.inputs.name }}" From 75faeec845d272444d2c10c7a0417a627a3467c0 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 28 Feb 2023 23:56:04 +0100 Subject: [PATCH 4/4] Revert "Create manual.yml" This reverts commit b50231d44359d23f8ce6ce47b084d8c61aad1beb. --- .github/workflows/manual.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml deleted file mode 100644 index 47f24e11ff..0000000000 --- a/.github/workflows/manual.yml +++ /dev/null @@ -1,30 +0,0 @@ -# This is a basic workflow that is manually triggered - -name: Manual workflow - -# Controls when the action will run. Workflow runs when manually triggered using the UI -# or API. -on: - workflow_dispatch: - # Inputs the workflow accepts. - inputs: - name: - # Friendly description to be shown in the UI instead of 'name' - description: 'Person to greet' - # Default value if no value is explicitly provided - default: 'World' - # Input has to be provided for the workflow to run - required: true - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "greet" - greet: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Runs a single command using the runners shell - - name: Send greeting - run: echo "Hello ${{ github.event.inputs.name }}"