mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-29 12:28:41 +03:00
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
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user