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 6e11468 commit d05cf7d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .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,6 +330,8 @@ jobs:
-B build
- name: Build
run: cmake --build build --config ${{env.BUILD_TYPE}}
- name: "avrdude --help (not installed)"
run: build/src/${{env.BUILD_TYPE}}/avrdude.exe -?
- name: "Dryrun test (not installed)"
# FIXME: Skip running avrdude.
# The exe file on arm64 is not runnable - x86_64 perhaps?
Expand Down Expand Up @@ -391,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 d05cf7d

Please sign in to comment.