Skip to content

Commit

Permalink
native.yaml: run make test and make test-progs.tar in separate steps
Browse files Browse the repository at this point in the history
Avoid "text file busy" error on GitHub.

dmevents-test: Text file busy
Makefile:74: recipe for target 'dmevents.out' failed

Signed-off-by: Martin Wilck <[email protected]>
  • Loading branch information
mwilck committed Sep 13, 2024
1 parent e702a5c commit 2864826
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,27 @@ jobs:
uses: mosteo-actions/docker-run@v1
with:
image: ghcr.io/mwilck/multipath-build-${{ matrix.os }}
command: -j -Orecurse ${{ env.ARCHIVE_TGT }} test
command: -j -Orecurse test
- name: build and test (jessie)
# On jessie, we use libreadline 5 (no licensing issue)
if: ${{ matrix.os == 'debian-jessie' }}
uses: mosteo-actions/docker-run@v1
with:
image: ghcr.io/mwilck/multipath-build-${{ matrix.os }}
command: -j -Orecurse READLINE=libreadline ${{ env.ARCHIVE_TGT }} test
command: -j -Orecurse READLINE=libreadline test

- name: create ${{ env.ARCHIVE_TGT }}
if: ${{ matrix.os != 'debian-jessie' }}
uses: mosteo-actions/docker-run@v1
with:
image: ghcr.io/mwilck/multipath-build-${{ matrix.os }}
command: ${{ env.ARCHIVE_TGT }}
- name: create ${{ env.ARCHIVE_TGT }} (jessie)
if: ${{ matrix.os == 'debian-jessie' }}
uses: mosteo-actions/docker-run@v1
with:
image: ghcr.io/mwilck/multipath-build-${{ matrix.os }}
command: READLINE=libreadline ${{ env.ARCHIVE_TGT }}

- name: upload binary archive
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 2864826

Please sign in to comment.