From 246c39d47f8afc70f6f0cb96f5f4719ad7f91968 Mon Sep 17 00:00:00 2001 From: mcuee Date: Tue, 25 Aug 2026 05:00:28 +0800 Subject: [PATCH] Enable dryrun tests for avrdude Linux container build (#2193) * Enable dryrun tests for avrdude Linux container build Added dry run tests for avrdude in the CI workflow. * Remove sudo from cmake install command for Linux container build --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb87b6d5..c6a6fac8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -201,6 +201,15 @@ jobs: - name: "avrdude -? (not installed)" if: matrix.arch == 'i386' run: build/src/avrdude -? + - name: "Dryrun test (not installed)" + if: matrix.arch == 'i386' + run: printf "\n\n" | ./tools/test-avrdude -v -e build/src/avrdude -c '-C build/src/avrdude.conf' -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28" + - name: Install + if: matrix.arch == 'i386' + run: cmake --build build --target install + - name: "Dryrun test (installed)" + if: matrix.arch == 'i386' + run: printf "\n\n" | ./tools/test-avrdude -v -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28" - name: Archive build artifacts if: always() uses: actions/upload-artifact@v7