forked from espressif/esp-idf
29
.github/workflows/manual.yml
vendored
29
.github/workflows/manual.yml
vendored
@@ -1,6 +1,6 @@
|
|||||||
# This is a basic workflow that is manually triggered
|
# 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
|
# Controls when the action will run. Workflow runs when manually triggered using the UI
|
||||||
# or API.
|
# or API.
|
||||||
@@ -16,24 +16,15 @@ on:
|
|||||||
# Input has to be provided for the workflow to run
|
# Input has to be provided for the workflow to run
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
#on:
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
# pull_request:
|
|
||||||
# types: [opened, reopened, synchronize]
|
|
||||||
|
|
||||||
jobs:
|
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
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: zimkal/qemu2
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
options: --user root
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
# Runs a single command using the runners shell
|
||||||
uses: actions/checkout@v2
|
- name: Send greeting
|
||||||
with:
|
run: echo "Hello ${{ github.event.inputs.name }}"
|
||||||
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
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user