Skip to content

Commit

Permalink
Increase parallelism. Upload artifacts
Browse files Browse the repository at this point in the history
* Artifacts: in case of failures: test logs; in case of success, the
  distribution tar ball.
  • Loading branch information
gmarcais committed Mar 28, 2024
1 parent 2343f2f commit 7198b08
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,30 @@ jobs:
run: autoreconf -fi
- name: configure
run: ./configure --enable-all-binding --enable-swig CXX=g++-10 CC=gcc-10

- name: make
run: make -j2
run: make -j$(nproc)

- name: make check
run: make -j2 check
run: make -j$(nproc) check
- name: Check logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: checklog
path: "**/*tests/*.log"

- name: make distcheck
run: make -j2 distcheck
run: make -j$(nproc) distcheck
- name: Distcheck logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: distchecklog
path: "**/*tests/*.log"

- name: Distribution tar ball
uses: actions/upload-artifact@v4
with:
name: disttarball
path: "mummer-*.tar.gz"

0 comments on commit 7198b08

Please sign in to comment.