Merge pull request #10866 from zikalino/modify-workflow

Modify workflow
This commit is contained in:
Zim Kalinowski 2023-02-28 23:26:40 +01:00 committed by GitHub
commit 94c87a9106
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

39
.github/workflows/manual.yml vendored Normal file
View File

@ -0,0 +1,39 @@
# This is a basic workflow that is manually triggered
name: Build and Run QEMU Tests
# 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
#on:
# pull_request:
# types: [opened, reopened, synchronize]
jobs:
container:
runs-on: ubuntu-latest
container:
image: zimkal/qemu2
options: --user root
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