ci(common): updated github actions(checkout, upload, download) v3 to 4, Ubuntu 20.04 to v22.04

This commit is contained in:
Suren Gabrielyan
2024-01-29 19:34:42 +04:00
parent 3f74b4e8c0
commit a23a0027fa
17 changed files with 56 additions and 55 deletions

View File

@ -16,13 +16,13 @@ jobs:
idf_ver: ["latest", "release-v5.0", "release-v5.1"] idf_ver: ["latest", "release-v5.0", "release-v5.1"]
idf_target: ["esp32", "esp32s2"] idf_target: ["esp32", "esp32s2"]
example: ["asio_chat", "async_request", "socks4", "ssl_client_server", "tcp_echo_server", "udp_echo_server"] example: ["asio_chat", "async_request", "socks4", "ssl_client_server", "tcp_echo_server", "udp_echo_server"]
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
env: env:
TEST_DIR: components/asio/examples TEST_DIR: components/asio/examples
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }} - name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
@ -43,7 +43,7 @@ jobs:
run: | run: |
. ${IDF_PATH}/export.sh . ${IDF_PATH}/export.sh
esptool.py --chip ${{ matrix.idf_target }} merge_bin --fill-flash-size 4MB -o flash_image.bin @flash_args esptool.py --chip ${{ matrix.idf_target }} merge_bin --fill-flash-size 4MB -o flash_image.bin @flash_args
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: examples_app_bin_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${{ matrix.example }} name: examples_app_bin_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${{ matrix.example }}
path: | path: |
@ -76,8 +76,8 @@ jobs:
steps: steps:
- name: Clear repository - name: Clear repository
run: sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE run: sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
with: with:
name: examples_app_bin_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${{ matrix.example }} name: examples_app_bin_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${{ matrix.example }}
path: ${{ env.TEST_DIR }}/${{ matrix.example }}/build path: ${{ env.TEST_DIR }}/${{ matrix.example }}/build
@ -93,7 +93,7 @@ jobs:
working-directory: ${{ env.TEST_DIR }}/${{ matrix.example }} working-directory: ${{ env.TEST_DIR }}/${{ matrix.example }}
run: | run: |
python -m pytest --log-cli-level DEBUG --junit-xml=./examples_results_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${{ matrix.config }}.xml --target=${{ matrix.idf_target }} python -m pytest --log-cli-level DEBUG --junit-xml=./examples_results_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${{ matrix.config }}.xml --target=${{ matrix.idf_target }}
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: always() if: always()
with: with:
name: examples_results_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${{ matrix.example }} name: examples_results_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${{ matrix.example }}

View File

@ -16,11 +16,11 @@ jobs:
idf_ver: ["latest", "release-v5.0"] idf_ver: ["latest", "release-v5.0"]
idf_target: ["esp32"] idf_target: ["esp32"]
test: [ { app: ifconfig-basic, path: "components/console_cmd_ifconfig/examples"}] test: [ { app: ifconfig-basic, path: "components/console_cmd_ifconfig/examples"}]
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }} - name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}

View File

@ -16,11 +16,11 @@ jobs:
idf_ver: ["latest", "release-v5.0"] idf_ver: ["latest", "release-v5.0"]
idf_target: ["esp32"] idf_target: ["esp32"]
test: [ { app: ping-basic, path: "components/console_cmd_ping/examples" }] test: [ { app: ping-basic, path: "components/console_cmd_ping/examples" }]
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }} - name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}

View File

@ -16,11 +16,11 @@ jobs:
idf_ver: ["latest", "release-v5.0"] idf_ver: ["latest", "release-v5.0"]
idf_target: ["esp32"] idf_target: ["esp32"]
test: [ { app: wifi-basic, path: "components/console_cmd_wifi/examples" }] test: [ { app: wifi-basic, path: "components/console_cmd_wifi/examples" }]
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }} - name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}

View File

@ -16,11 +16,11 @@ jobs:
idf_ver: ["latest", "release-v5.0"] idf_ver: ["latest", "release-v5.0"]
idf_target: ["esp32"] idf_target: ["esp32"]
test: [ { app: console_basic, path: "components/console_simple_init/examples" }] test: [ { app: console_basic, path: "components/console_simple_init/examples" }]
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }} - name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}

View File

@ -14,11 +14,11 @@ jobs:
strategy: strategy:
matrix: matrix:
idf_ver: ["latest", "release-v5.1"] idf_ver: ["latest", "release-v5.1"]
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Build with IDF-${{ matrix.idf_ver }} - name: Build with IDF-${{ matrix.idf_ver }}
shell: bash shell: bash
run: | run: |
@ -33,11 +33,11 @@ jobs:
strategy: strategy:
matrix: matrix:
idf_ver: ["latest"] idf_ver: ["latest"]
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Build with IDF-${{ matrix.idf_ver }} - name: Build with IDF-${{ matrix.idf_ver }}
shell: bash shell: bash
run: | run: |

View File

@ -15,11 +15,11 @@ jobs:
matrix: matrix:
idf_ver: ["latest", "release-v5.0"] idf_ver: ["latest", "release-v5.0"]
test: [ { app: example, path: "examples/query_advertise" }, { app: unit_test, path: "tests/unit_test" }, { app: test_app, path: "tests/test_apps" } ] test: [ { app: example, path: "examples/query_advertise" }, { app: unit_test, path: "tests/unit_test" }, { app: test_app, path: "tests/test_apps" } ]
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} - name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }}
shell: bash shell: bash
run: | run: |
@ -34,7 +34,7 @@ jobs:
$GITHUB_WORKSPACE/ci/clean_build_artifacts.sh `pwd`/$dir $GITHUB_WORKSPACE/ci/clean_build_artifacts.sh `pwd`/$dir
zip -qur artifacts.zip $dir zip -qur artifacts.zip $dir
done done
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: mdns_bin_esp32_${{ matrix.idf_ver }}_${{ matrix.test.app }} name: mdns_bin_esp32_${{ matrix.idf_ver }}_${{ matrix.test.app }}
path: components/mdns/${{ matrix.test.path }}/artifacts.zip path: components/mdns/${{ matrix.test.path }}/artifacts.zip
@ -58,8 +58,8 @@ jobs:
steps: steps:
- name: Clear repository - name: Clear repository
run: sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE run: sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
with: with:
name: mdns_bin_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${{ matrix.test.app }} name: mdns_bin_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${{ matrix.test.app }}
path: components/mdns/${{ matrix.test.path }}/ci/ path: components/mdns/${{ matrix.test.path }}/ci/
@ -77,7 +77,7 @@ jobs:
mv $dir build mv $dir build
python -m pytest --log-cli-level DEBUG --junit-xml=./results_${{ matrix.test.app }}_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${dir#"ci/build_"}.xml --target=${{ matrix.idf_target }} python -m pytest --log-cli-level DEBUG --junit-xml=./results_${{ matrix.test.app }}_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${dir#"ci/build_"}.xml --target=${{ matrix.idf_target }}
done done
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: always() if: always()
with: with:
name: results_${{ matrix.test.app }}_${{ matrix.idf_target }}_${{ matrix.idf_ver }}.xml name: results_${{ matrix.test.app }}_${{ matrix.idf_target }}_${{ matrix.idf_ver }}.xml

View File

@ -11,12 +11,12 @@ jobs:
host_test_mdns: host_test_mdns:
if: contains(github.event.pull_request.labels.*.name, 'mdns') || github.event_name == 'push' if: contains(github.event.pull_request.labels.*.name, 'mdns') || github.event_name == 'push'
name: Host test name: Host test
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:release-v5.1 container: espressif/idf:release-v5.1
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@master uses: actions/checkout@v4
with: with:
path: esp-protocols path: esp-protocols
@ -40,11 +40,11 @@ jobs:
idf_ver: ["latest"] idf_ver: ["latest"]
idf_target: ["esp32"] idf_target: ["esp32"]
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@master uses: actions/checkout@v4
with: with:
path: esp-protocols path: esp-protocols
- name: Install Necessary Libs - name: Install Necessary Libs

View File

@ -27,13 +27,19 @@ jobs:
example: "simple_cmux_client" example: "simple_cmux_client"
warning: "Warning: The smallest app partition is nearly full" warning: "Warning: The smallest app partition is nearly full"
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
steps: steps:
- name: Checkout esp-protocols - name: Check out code (v3) # @v4 failed due to Node 20's requirement, incompatible with older IDF versions
if: matrix.idf_ver != 'latest' && matrix.idf_ver < 'release-v5.0'
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
path: protocols path: protocols
- name: Check out code (v4)
if: matrix.idf_ver == 'latest' || matrix.idf_ver >= 'release-v5.0'
uses: actions/checkout@v4
with:
path: protocols
- if: ${{ matrix.skip_config }} - if: ${{ matrix.skip_config }}
run: rm -f $GITHUB_WORKSPACE/protocols/components/esp_modem/examples/${{ matrix.example }}/sdkconfig.ci.${{ matrix.skip_config }}* run: rm -f $GITHUB_WORKSPACE/protocols/components/esp_modem/examples/${{ matrix.example }}/sdkconfig.ci.${{ matrix.skip_config }}*
- name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }} - name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }}
@ -54,11 +60,11 @@ jobs:
idf_ver: ["release-v5.0", "release-v5.1", "latest"] idf_ver: ["release-v5.0", "release-v5.1", "latest"]
test: ["target", "target_ota", "target_iperf"] test: ["target", "target_ota", "target_iperf"]
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: protocols path: protocols
- name: Build ${{ matrix.test }} with IDF-${{ matrix.idf_ver }} - name: Build ${{ matrix.test }} with IDF-${{ matrix.idf_ver }}

View File

@ -20,13 +20,13 @@ jobs:
- idf_ver: "latest" - idf_ver: "latest"
idf_target: "esp32s2" idf_target: "esp32s2"
test: { app: usb_a7670_s2, path: examples/pppos_client } test: { app: usb_a7670_s2, path: examples/pppos_client }
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
env: env:
TEST_DIR: components/esp_modem/${{ matrix.test.path }} TEST_DIR: components/esp_modem/${{ matrix.test.path }}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Build esp-modem target tests with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }} - name: Build esp-modem target tests with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}

View File

@ -16,11 +16,11 @@ jobs:
idf_ver: ["latest", "release-v5.0"] idf_ver: ["latest", "release-v5.0"]
idf_target: ["esp32"] idf_target: ["esp32"]
test: [ { app: mqtt-basic, path: "components/esp_mqtt_cxx/examples" }] test: [ { app: mqtt-basic, path: "components/esp_mqtt_cxx/examples" }]
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }} - name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}

View File

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
ref: ${{ github.base_ref }} ref: ${{ github.base_ref }}
fetch-depth: 20 fetch-depth: 20

View File

@ -20,7 +20,7 @@ jobs:
if: github.repository == 'espressif/esp-protocols' if: github.repository == 'espressif/esp-protocols'
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false
fetch-depth: 0 fetch-depth: 0

View File

@ -34,14 +34,14 @@ on:
jobs: jobs:
build: build:
name: Build App name: Build App
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
permissions: permissions:
checks: write checks: write
contents: write contents: write
container: espressif/idf:${{inputs.idf_version}} container: espressif/idf:${{inputs.idf_version}}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: esp-protocols path: esp-protocols
- name: Build ${{ inputs.app_name }} with IDF-${{ inputs.idf_version }} - name: Build ${{ inputs.app_name }} with IDF-${{ inputs.idf_version }}
@ -61,12 +61,7 @@ jobs:
echo "Executeable wasn't run" echo "Executeable wasn't run"
exit 0 exit 0
fi fi
if [ "${{ inputs.publish_unit_test_result }}" == "true" ]; then
./build/${{inputs.app_name}}.elf --reporter JUnit::out=result-junit.xml --reporter console::out=-::colour-mode=ansi
else
./build/${{inputs.app_name}}.elf ./build/${{inputs.app_name}}.elf
fi
- name: Publish Unit Test Result - name: Publish Unit Test Result
uses: EnricoMi/publish-unit-test-result-action@v2 uses: EnricoMi/publish-unit-test-result-action@v2
if: ${{ inputs.publish_unit_test_result }} if: ${{ inputs.publish_unit_test_result }}
@ -119,7 +114,7 @@ jobs:
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
if: ${{ inputs.run_coverage }} if: ${{ inputs.run_coverage }}
- name: Upload files to artifacts for run-target job - name: Upload files to artifacts for run-target job
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
if: ${{ inputs.run_coverage }} if: ${{ inputs.run_coverage }}
with: with:
name: ${{inputs.app_name}}_coverage_report name: ${{inputs.app_name}}_coverage_report

View File

@ -15,13 +15,13 @@ jobs:
matrix: matrix:
idf_ver: ["release-v5.0", "release-v5.1", "latest"] idf_ver: ["release-v5.0", "release-v5.1", "latest"]
test: [ { app: example, path: "examples/target" }, { app: unit_test, path: "test" } ] test: [ { app: example, path: "examples/target" }, { app: unit_test, path: "test" } ]
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
container: espressif/idf:${{ matrix.idf_ver }} container: espressif/idf:${{ matrix.idf_ver }}
env: env:
TEST_DIR: components/esp_websocket_client/${{ matrix.test.path }} TEST_DIR: components/esp_websocket_client/${{ matrix.test.path }}
steps: steps:
- name: Checkout esp-protocols - name: Checkout esp-protocols
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }} - name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
@ -35,7 +35,7 @@ jobs:
$GITHUB_WORKSPACE/ci/clean_build_artifacts.sh `pwd`/$dir $GITHUB_WORKSPACE/ci/clean_build_artifacts.sh `pwd`/$dir
zip -qur artifacts.zip $dir zip -qur artifacts.zip $dir
done done
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: websocket_bin_esp32_${{ matrix.idf_ver }}_${{ matrix.test.app }} name: websocket_bin_esp32_${{ matrix.idf_ver }}_${{ matrix.test.app }}
path: ${{ env.TEST_DIR }}/artifacts.zip path: ${{ env.TEST_DIR }}/artifacts.zip
@ -60,8 +60,8 @@ jobs:
env: env:
TEST_DIR: components/esp_websocket_client/${{ matrix.test.path }} TEST_DIR: components/esp_websocket_client/${{ matrix.test.path }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
with: with:
name: websocket_bin_esp32_${{ matrix.idf_ver }}_${{ matrix.test.app }} name: websocket_bin_esp32_${{ matrix.idf_ver }}_${{ matrix.test.app }}
path: ${{ env.TEST_DIR }}/ci/ path: ${{ env.TEST_DIR }}/ci/
@ -79,7 +79,7 @@ jobs:
mv $dir build mv $dir build
python -m pytest --log-cli-level DEBUG --junit-xml=./results_${{ matrix.test.app }}_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${dir#"ci/build_"}.xml --target=${{ matrix.idf_target }} python -m pytest --log-cli-level DEBUG --junit-xml=./results_${{ matrix.test.app }}_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${dir#"ci/build_"}.xml --target=${{ matrix.idf_target }}
done done
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: always() if: always()
with: with:
name: results_${{ matrix.test.app }}_${{ matrix.idf_target }}_${{ matrix.idf_ver }}.xml name: results_${{ matrix.test.app }}_${{ matrix.idf_target }}_${{ matrix.idf_ver }}.xml

View File

@ -6,7 +6,7 @@ set(EXTRA_COMPONENT_DIRS # Add esp_modem component and linux port components
../.. ../..
../../port/linux) ../../port/linux)
set(COMPONENTS esp_modem main) set(COMPONENTS main)
project(host_modem_test) project(host_modem_test)
idf_component_get_property(esp_modem esp_modem COMPONENT_LIB) idf_component_get_property(esp_modem esp_modem COMPONENT_LIB)

View File

@ -361,7 +361,7 @@ extern "C" int app_main(void)
// Use more descriptive error handling // Use more descriptive error handling
if (result != 0) { if (result != 0) {
printf("Test failed with result %d. Refer to the Catch2 documentation for error details.\n", result); printf("Test failed with result %d.\n", result);
} else { } else {
printf("All tests passed successfully.\n"); printf("All tests passed successfully.\n");
} }