Skip to content

Commit

Permalink
XXX try running avrdude -? everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Aug 24, 2024
1 parent bf63603 commit 4965624
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
--enable-linuxspi
- name: Build
run: make -C _ambuild -j$(nproc)
- name: "avrdude --help (not installed)"
run: _ambuild/avrdude -?
- name: "Dryrun test (not installed)"
run: printf "\n\n" | ./tools/test-avrdude -v -e _ambuild/avrdude -c '-C _ambuild/avrdude.conf' -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28"
- name: Install
Expand Down Expand Up @@ -116,6 +118,8 @@ jobs:
-B build
- name: Build
run: cmake --build build
- name: "avrdude --help (not installed)"
run: build/src/avrdude -?
- name: "Dryrun test (not installed)"
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
Expand Down Expand Up @@ -188,6 +192,8 @@ jobs:
-B build
- name: Build
run: cmake --build build
- name: "avrdude --help (not installed)"
run: build/avrdude -?
- name: Archive build artifacts
if: always()
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -235,6 +241,8 @@ jobs:
-B build
- name: Build
run: cmake --build build
- name: "avrdude --help (not installed)"
run: build/src/avrdude -?
- name: "Dryrun test (not installed)"
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: Archive build artifacts
Expand Down Expand Up @@ -286,6 +294,8 @@ jobs:
- name: Build
run: make -C _ambuild -j$(nproc)
- name: "avrdude --help (not installed)"
run: _ambuild/avrdude -?
- name: "Dryrun test (not installed)"
run: printf "\n\n" | ./tools/test-avrdude -v -e _ambuild/avrdude -c '-C _ambuild/avrdude.conf' -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28"

Expand Down Expand Up @@ -320,7 +330,7 @@ jobs:
-B build
- name: Build
run: cmake --build build --config ${{env.BUILD_TYPE}}
- name: "Run the built avrdude"
- name: "avrdude --help (not installed)"
run: build/src/${{env.BUILD_TYPE}/avrdude.exe -?
- name: "Dryrun test (not installed)"
# FIXME: Skip running avrdude.
Expand Down Expand Up @@ -393,6 +403,8 @@ jobs:
-B build
- name: Build
run: cmake --build build
- name: "avrdude --help (not installed)"
run: build/avrdude -?
# Disabled so far due to problems writing to temp files.
# - name: "Dryrun test (not installed)"
# run: printf "\n\n" | ./tools/test-avrdude -v -e build/src/avrdude.exe -c "-C build/src/avrdude.conf" -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28"
Expand Down

0 comments on commit 4965624

Please sign in to comment.