diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3d54e8d8a..2597e7380 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -228,6 +228,12 @@ jobs: -B build - name: Build run: cmake --build build + - name: Run the built avrdude before installing + run: ./build/src/avrdude --help + - name: Install + run: sudo cmake --build build --target install + - name: Dryrun_test + run: printf "\n\n" | ./tools/test-avrdude -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28" - name: Archive build artifacts if: always() uses: actions/upload-artifact@v3 @@ -269,15 +275,22 @@ jobs: pkg-config - name: Configure run: >- - ./src/bootstrap + autoreconf -vis src mkdir _ambuild && cd _ambuild - CFLAGS="-I/opt/homebrew/include" LDFLAGS="-L/opt/homebrew/lib" ../src/configure - + env + CFLAGS="-I/opt/homebrew/include" LDFLAGS="-L/opt/homebrew/lib" + ../src/configure - name: Build run: make -C _ambuild -j$(nproc) - + - name: Run the built avrdude before installing + run: ./_ambuild/src/avrdude --help + - name: Install + run: sudo make -C _ambuild install + - name: Dryrun_test + run: printf "\n\n" | ./tools/test-avrdude -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28" + msvc: runs-on: windows-latest strategy: @@ -309,6 +322,10 @@ jobs: -B build - name: Build run: cmake --build build --config ${{env.BUILD_TYPE}} + - name: Install + run: cmake --build build --target install + - name: Dryrun_test + run: printf "\n\n" | ./tools/test-avrdude -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28" - name: Archive build artifacts if: always() uses: actions/upload-artifact@v3 @@ -370,6 +387,10 @@ jobs: -B build - name: Build run: cmake --build build + - name: Install + run: sudo cmake --build build --target install + - name: Dryrun_test + run: printf "\n\n" | ./tools/test-avrdude -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28" - name: Archive build artifacts if: always() uses: actions/upload-artifact@v3